File tree Expand file tree Collapse file tree
resources/js/components/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 118118 <NumberField v-else-if =" config.type === 'int'" :config =" config" :min =" 0" @filled =" filled" @reset =" reset" />
119119 <NumberField v-else-if =" config.type === 'positive'" :config =" config" :min =" 1" @filled =" filled" @reset =" reset" />
120120 <SliderField v-else-if =" config.type.includes('|')" :config =" config" @filled =" filled" @reset =" reset" />
121- <p v-else class =" bg-red-500" >{{ config.key }} -- {{ config.value }} -- {{ config.documentation }} -- {{ config.type }}</p >
121+ <p v-else-if =" is_debug_enabled" class =" bg-red-500" >
122+ {{ config.key }} -- {{ config.value }} -- {{ config.documentation }} -- {{ config.type }}
123+ </p >
122124 </div >
123125 </div >
124126 </template >
@@ -151,7 +153,7 @@ import { useLycheeStateStore } from "@/stores/LycheeState";
151153import { storeToRefs } from " pinia" ;
152154
153155const lycheeStore = useLycheeStateStore ();
154- const { is_old_style, is_expert_mode } = storeToRefs (lycheeStore );
156+ const { is_old_style, is_expert_mode, is_debug_enabled } = storeToRefs (lycheeStore );
155157
156158const props = defineProps <{
157159 configs: App .Http .Resources .Models .ConfigResource [];
You can’t perform that action at this time.
0 commit comments