diff options
| author | Henry Jameson <me@hjkos.com> | 2023-03-16 23:18:55 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2023-03-16 23:18:55 +0200 |
| commit | bfd802ad046886230574cf2262f9c2e5f1b03a3f (patch) | |
| tree | 90f28ae9b62c5cd70c0a7fa6c170dc041dabf68e /src/components/settings_modal/helpers/string_setting.vue | |
| parent | 4d23d31fecf480abfccc4db3ac79c6640078dc3b (diff) | |
setting admin settings works now. also now we have draftable settings
Diffstat (limited to 'src/components/settings_modal/helpers/string_setting.vue')
| -rw-r--r-- | src/components/settings_modal/helpers/string_setting.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/settings_modal/helpers/string_setting.vue b/src/components/settings_modal/helpers/string_setting.vue index e4bd2de9..0a71aeab 100644 --- a/src/components/settings_modal/helpers/string_setting.vue +++ b/src/components/settings_modal/helpers/string_setting.vue @@ -11,7 +11,7 @@ class="string-input" step="1" :disabled="disabled" - :value="state" + :value="draftMode ? draft :state" @change="update" > {{ ' ' }} @@ -19,7 +19,9 @@ :changed="isChanged" :onclick="reset" /> + <ProfileSettingIndicator :is-profile="isProfileSetting" /> + <DraftButtons /> </label> </template> -<script src="./boolean_setting.js"></script> +<script src="./string_setting.js"></script> |
