File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 5151 <NcActionButton :close-after-click =" true"
5252 @click =" toggleStarred(!fileInfo.isFavourited)" >
5353 <template #icon >
54- <NcIconSvgWrapper :path =" fileInfo.isFavourited ? mdiStarOutline : mdiStar " />
54+ <NcIconSvgWrapper :path =" fileInfo.isFavourited ? mdiStar : mdiStarOutline " />
5555 </template >
5656 {{ fileInfo.isFavourited ? t('files', 'Remove from favorites') : t('files', 'Add to favorites') }}
5757 </NcActionButton >
5858 <!-- TODO: create proper api for apps to register actions
5959 And inject themselves here. -->
6060 <NcActionButton v-if =" isSystemTagsEnabled"
6161 :close-after-click =" true"
62- icon =" icon-tag"
6362 @click =" toggleTags" >
63+ <template #icon >
64+ <NcIconSvgWrapper :path =" mdiTagMultipleOutline" />
65+ </template >
6466 {{ t('files', 'Tags') }}
6567 </NcActionButton >
6668 </template >
@@ -101,7 +103,7 @@ import { fetchNode } from '../services/WebdavClient.ts'
101103import { generateUrl } from ' @nextcloud/router'
102104import { getCapabilities } from ' @nextcloud/capabilities'
103105import { getCurrentUser } from ' @nextcloud/auth'
104- import { mdiStar , mdiStarOutline } from ' @mdi/js'
106+ import { mdiStar , mdiStarOutline , mdiTagMultipleOutline } from ' @mdi/js'
105107import { ShareType } from ' @nextcloud/sharing'
106108import { showError } from ' @nextcloud/dialogs'
107109import $ from ' jquery'
@@ -144,6 +146,7 @@ export default defineComponent({
144146
145147 mdiStar ,
146148 mdiStarOutline ,
149+ mdiTagMultipleOutline ,
147150 }
148151 },
149152
You can’t perform that action at this time.
0 commit comments