diff --git a/src/boot/after_store.js b/src/boot/after_store.js index 61218316..56b53f98 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -287,6 +287,7 @@ const getNodeInfo = async ({ store }) => { store.dispatch('setInstanceOption', { name: 'quotePosting', value: features.includes('quote_posting') }) store.dispatch('setInstanceOption', { name: 'customEmojiReactions', value: features.includes('custom_emoji_reactions') }) store.dispatch('setInstanceOption', { name: 'bubbleTimeline', value: features.includes('bubble_timeline') }) + store.dispatch('setInstanceOption', { name: 'profileCustomisation', value: features.includes('profile_customisation') }) const uploadLimits = metadata.uploadLimits store.dispatch('setInstanceOption', { name: 'uploadlimit', value: parseInt(uploadLimits.general) }) diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js index 37225bda..4824e945 100644 --- a/src/components/features_panel/features_panel.js +++ b/src/components/features_panel/features_panel.js @@ -5,6 +5,7 @@ const FeaturesPanel = { shout: function () { return this.$store.state.instance.shoutAvailable }, bubbleTimeline: function () { return this.$store.state.instance.bubbleTimeline }, pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable }, + profileCustomisation: function () { return this.$store.state.instance.profileCustomisation }, customEmojiReactions: function () { return this.$store.state.instance.customEmojiReactions }, gopher: function () { return this.$store.state.instance.gopherAvailable }, translationEnabled: function () { return this.$store.state.instance.translationEnabled }, diff --git a/src/components/features_panel/features_panel.vue b/src/components/features_panel/features_panel.vue index 857ea4d5..595903f7 100644 --- a/src/components/features_panel/features_panel.vue +++ b/src/components/features_panel/features_panel.vue @@ -17,6 +17,9 @@