Skip to content

Commit

Permalink
fix: glitch button content on dynamic default slot
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
ShGKme authored and nextcloud-command committed Dec 22, 2023
1 parent f3b9385 commit 96fc39b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions js/photos-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-public.js.map

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions src/views/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<template #icon>
<Plus />
</template>
<template v-if="!isMobile">
<template v-if="!isMobile" #default>
{{ t('photos', 'Add to album') }}
</template>
</NcButton>
Expand All @@ -73,7 +73,7 @@
<template #icon>
<Close />
</template>
<template v-if="!isMobile">
<template v-if="!isMobile" #default>
{{ t('photos', 'Unselect all') }}
</template>
</NcButton>
Expand Down Expand Up @@ -127,7 +127,9 @@
<NcModal v-if="showAlbumCreationForm"
key="albumCreationForm"
@close="showAlbumCreationForm = false">
<h2 class="timeline__heading">{{ t('photos', 'New album') }}</h2>
<h2 class="timeline__heading">
{{ t('photos', 'New album') }}
</h2>
<AlbumForm @done="showAlbumCreationForm = false" />
</NcModal>

Expand Down

0 comments on commit 96fc39b

Please sign in to comment.