diff options
| author | Pitu <[email protected]> | 2021-06-20 21:53:16 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-06-20 21:53:16 +0900 |
| commit | 2efd58f1a4204276be8bd0c9f353b8019185b51d (patch) | |
| tree | 06a0ad1cdaec2d753f7355d531d604ca14eda6a7 | |
| parent | feat: show field notes if any (diff) | |
| download | host.fuwn.me-2efd58f1a4204276be8bd0c9f353b8019185b51d.tar.xz host.fuwn.me-2efd58f1a4204276be8bd0c9f353b8019185b51d.zip | |
chore: remove leftovers
| -rw-r--r-- | src/api/structures/Setting.js | 2 | ||||
| -rw-r--r-- | src/site/components/album/AlbumDetails.vue | 3 | ||||
| -rw-r--r-- | src/site/pages/dashboard/admin/settings.vue | 7 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/api/structures/Setting.js b/src/api/structures/Setting.js index 0f4d59c..5c7e7ff 100644 --- a/src/api/structures/Setting.js +++ b/src/api/structures/Setting.js @@ -130,7 +130,7 @@ const schema = Joi.object({ section: Sections.SOCIAL_AND_SHARING }) .label('Twitter handle') - .description('Your twitter handle'), + .description('Your twitter username'), // Instance settings backgroundImageURL: Joi.string().uri().default(p => `${p.domain}/assets/images/background.jpg`) diff --git a/src/site/components/album/AlbumDetails.vue b/src/site/components/album/AlbumDetails.vue index a4e8496..aa434f3 100644 --- a/src/site/components/album/AlbumDetails.vue +++ b/src/site/components/album/AlbumDetails.vue @@ -151,9 +151,6 @@ export default { computed: { ...mapState(['config', 'auth']) }, - mounted() { - console.log(this.isNsfw); - }, methods: { ...mapActions({ deleteAlbumAction: 'albums/deleteAlbum', diff --git a/src/site/pages/dashboard/admin/settings.vue b/src/site/pages/dashboard/admin/settings.vue index 3fce282..09bf895 100644 --- a/src/site/pages/dashboard/admin/settings.vue +++ b/src/site/pages/dashboard/admin/settings.vue @@ -12,7 +12,7 @@ <hr> <div v-for="[sectionName, fields] in Object.entries(sectionedSettings)" :key="sectionName" class="block"> - <h5 class="title is-5 has-text-grey-lighter"> + <h5 class="title is-5 has-text-grey-lighter text-center mb4 mt4"> {{ sectionName }} </h5> <JoiObject ref="jois" :settings="fields" :errors="validationErrors" /> @@ -106,3 +106,8 @@ export default { } }; </script> +<style lang="scss" scoped> +h5.title { + text-decoration: underline; +} +</style> |