File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 25
25
@refresh =" resetFetchFilesState" >
26
26
<div class =" timeline__header__left" >
27
27
<!-- TODO: UploadPicker -->
28
- <NcActions v-if =" selectedFileIds.length === 0"
29
- ref =" addActions"
30
- :force-menu =" true"
31
- :menu-name =" t('photos', 'Add')" >
28
+ <NcButton v-if =" selectedFileIds.length === 0"
29
+ ref =" newAlbumButton"
30
+ :aria-label =" t('photos', 'Create new album')"
31
+ @click =" showAlbumCreationForm = true" >
32
+ {{ t('photos', 'Create new album') }}
32
33
<template #icon >
33
- <Plus />
34
+ <PlusBoxMultiple />
34
35
</template >
35
- <NcActionButton :close-after-click =" true"
36
- :aria-label =" t('photos', 'Create new album')"
37
- @click =" showAlbumCreationForm = true" >
38
- {{ t('photos', 'Create new album') }}
39
- <template #icon >
40
- <PlusBoxMultiple />
41
- </template >
42
- </NcActionButton >
43
- </NcActions >
36
+ </NcButton >
44
37
45
38
<template v-else >
46
39
<NcButton :close-after-click =" true"
114
107
115
108
<NcModal v-if =" showAlbumCreationForm"
116
109
key =" albumCreationForm"
117
- :set-return-focus =" $refs.addActions?.$refs.menuButton ?.$el"
110
+ :set-return-focus =" $refs.newAlbumButton ?.$el"
118
111
@close =" showAlbumCreationForm = false" >
119
112
<h2 class =" timeline__heading" >
120
113
{{ t('photos', 'New album') }}
You can’t perform that action at this time.
0 commit comments