Skip to content

Commit

Permalink
Merge pull request #1846 from dandi/improve-action-icons
Browse files Browse the repository at this point in the history
Improve file browser view action icons
  • Loading branch information
waxlamp authored Feb 9, 2024
2 parents 6d45be7 + 22ca4e2 commit 6837233
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions web/src/views/FileBrowserView/FileBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,15 @@
<v-btn
icon
:href="inlineURI(item.asset.asset_id)"
target="_blank"
rel="noreferrer"
v-bind="attrs"
v-on="on"
>
<v-icon color="primary">
mdi-eye
mdi-open-in-app
</v-icon>
</v-btn>
</template>
<span>View asset in browser</span>
<span>Open asset in browser</span>
</v-tooltip>
</v-list-item-action>

Expand Down Expand Up @@ -209,22 +207,13 @@
>
<template #activator="{ on, attrs }">
<v-btn
v-if="item.services && item.services.length"
color="primary"
icon
title="Open in external service"
x-small
:disabled="!item.services || !item.services.length"
v-bind="attrs"
v-on="on"
>
<v-icon>mdi-dots-vertical</v-icon>
</v-btn>
<v-btn
v-else
color="primary"
disabled
icon
>
<v-icon>mdi-dots-vertical</v-icon>
Open With <v-icon small>mdi-menu-down</v-icon>
</v-btn>
</template>
<v-list
Expand Down

0 comments on commit 6837233

Please sign in to comment.