Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Sep 29, 2024
1 parent 762e365 commit 5e7d484
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions resources/js/components/settings/EasySettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
<SelectLang v-if="lang !== undefined" :config="lang" />
<div class="flex flex-wrap justify-between">
<label for="pp_dialog_nsfw_visible">{{ $t("lychee.NSFW_VISIBLE_TEXT_1") }}</label>
<ToggleSwitch id="pp_dialog_nsfw_visible" v-model="nsfwVisible_value" class="text-sm" @update:model-value="() => save('nsfw_visible', nsfwVisible_value ? '1' : '0')" />
<ToggleSwitch
id="pp_dialog_nsfw_visible"
v-model="nsfwVisible_value"
class="text-sm"
@update:model-value="() => save('nsfw_visible', nsfwVisible_value ? '1' : '0')"
/>
<p class="my-1.5 text-muted-color w-full" v-html="nsfwText2"></p>
</div>
</div>
Expand Down Expand Up @@ -50,7 +55,8 @@
:mapper="SelectBuilders.buildAlbumSorting"
@filled="save"
/>
<SelectOptionsField class="mb-6"
<SelectOptionsField
class="mb-6"
v-if="albumSortingOrder !== undefined"
:config="albumSortingOrder"
:options="sortingOrdersOptions"
Expand All @@ -64,7 +70,8 @@
:mapper="SelectBuilders.buildAspectRatio"
@filled="save"
/>
<SelectOptionsField class="mb-6"
<SelectOptionsField
class="mb-6"
v-if="layout !== undefined"
:config="layout"
:options="photoLayoutOptions"
Expand Down

0 comments on commit 5e7d484

Please sign in to comment.