From 45fae7664095fbe3da81bbce98abb06ba3fa928a Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 16 Jan 2024 18:39:39 -0800 Subject: [PATCH] fix: Migrate to new Entry API Signed-off-by: Christopher Ng --- src/views/AlbumContent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/AlbumContent.vue b/src/views/AlbumContent.vue index 331c14852..80da8938b 100644 --- a/src/views/AlbumContent.vue +++ b/src/views/AlbumContent.vue @@ -259,7 +259,7 @@ export default { id: 'album-add', displayName: t('photos', 'Add photos to this album'), templateName: '', - if: (context) => context.route === this.$route.name, + enabled: (context) => context.route === this.$route.name, /** Existing icon css class */ iconSvgInline: PlusSvg, /** Function to be run after creation */