chore: remove leftovers
This commit is contained in:
parent
c416e2a0bf
commit
2efd58f1a4
|
@ -130,7 +130,7 @@ const schema = Joi.object({
|
||||||
section: Sections.SOCIAL_AND_SHARING
|
section: Sections.SOCIAL_AND_SHARING
|
||||||
})
|
})
|
||||||
.label('Twitter handle')
|
.label('Twitter handle')
|
||||||
.description('Your twitter handle'),
|
.description('Your twitter username'),
|
||||||
|
|
||||||
// Instance settings
|
// Instance settings
|
||||||
backgroundImageURL: Joi.string().uri().default(p => `${p.domain}/assets/images/background.jpg`)
|
backgroundImageURL: Joi.string().uri().default(p => `${p.domain}/assets/images/background.jpg`)
|
||||||
|
|
|
@ -151,9 +151,6 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['config', 'auth'])
|
...mapState(['config', 'auth'])
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
console.log(this.isNsfw);
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions({
|
...mapActions({
|
||||||
deleteAlbumAction: 'albums/deleteAlbum',
|
deleteAlbumAction: 'albums/deleteAlbum',
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div v-for="[sectionName, fields] in Object.entries(sectionedSettings)" :key="sectionName" class="block">
|
<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 }}
|
{{ sectionName }}
|
||||||
</h5>
|
</h5>
|
||||||
<JoiObject ref="jois" :settings="fields" :errors="validationErrors" />
|
<JoiObject ref="jois" :settings="fields" :errors="validationErrors" />
|
||||||
|
@ -106,3 +106,8 @@ export default {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
h5.title {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue