diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2024-03-05 16:29:21 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2024-03-05 16:29:21 +0000 |
| commit | 943fee9fbc3768733417033191540773ac76c711 (patch) | |
| tree | ee0ced4fab3b95a99f684dd08adb054a5ce934e3 /src/components/settings_modal/helpers/setting.js | |
| parent | db33d58ba7a91da3461556a8a296991cad53afa8 (diff) | |
| parent | 70258a21764fa72a34a6059e9902db1661a48382 (diff) | |
Merge branch 'admin-emoji-settings' into 'develop'
Admin emoji pack settings
See merge request pleroma/pleroma-fe!1886
Diffstat (limited to 'src/components/settings_modal/helpers/setting.js')
| -rw-r--r-- | src/components/settings_modal/helpers/setting.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/settings_modal/helpers/setting.js b/src/components/settings_modal/helpers/setting.js index b3add346..abf9cfdf 100644 --- a/src/components/settings_modal/helpers/setting.js +++ b/src/components/settings_modal/helpers/setting.js @@ -195,7 +195,8 @@ export default { } }, canHardReset () { - return this.realSource === 'admin' && this.$store.state.adminSettings.modifiedPaths.has(this.canonPath.join(' -> ')) + return this.realSource === 'admin' && this.$store.state.adminSettings.modifiedPaths && + this.$store.state.adminSettings.modifiedPaths.has(this.canonPath.join(' -> ')) }, matchesExpertLevel () { return (this.expert || 0) <= this.$store.state.config.expertLevel > 0 |
