Skip to content

Commit

Permalink
Fix usage of external app icon/image in contextMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Feb 15, 2022
1 parent 97eff6a commit 628dbd5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/web-app-files/src/components/ActionMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
alt=""
class="oc-icon oc-icon-m"
/>
<oc-img
v-else-if="action.icon && action.icon.startsWith('https://')"
data-testid="action-img"
:src="action.icon"
alt=""
class="oc-icon oc-icon-m"
/>
<oc-icon
v-else-if="action.icon"
data-testid="action-icon"
Expand Down

0 comments on commit 628dbd5

Please sign in to comment.