config: fix use of removed props

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-03 10:33:03 -07:00
parent f7d7693bf4
commit 0ce08c82fe
2 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ export default defineComponent({
name: t('memories', 'Add to album'), name: t('memories', 'Add to album'),
icon: AlbumsIcon, icon: AlbumsIcon,
callback: this.addToAlbum.bind(this), callback: this.addToAlbum.bind(this),
if: (self: any) => self.config_albumsEnabled && !self.routeIsAlbum(), if: (self: any) => self.config.albums_enabled && !self.routeIsAlbum(),
}, },
{ {
name: t('memories', 'Move to person'), name: t('memories', 'Move to person'),

View File

@ -18,7 +18,7 @@
<EditDate ref="editDate" :photos="photos" /> <EditDate ref="editDate" :photos="photos" />
</div> </div>
<div v-if="config_tagsEnabled && sections.includes(2)"> <div v-if="config.systemtags_enabled && sections.includes(2)">
<div class="title-text"> <div class="title-text">
{{ t('memories', 'Collaborative Tags') }} {{ t('memories', 'Collaborative Tags') }}
</div> </div>