Skip to content

Commit

Permalink
Remove extra space from channel menu
Browse files Browse the repository at this point in the history
  • Loading branch information
KshitijThareja committed Oct 31, 2023
1 parent 92454c4 commit 78b2a0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,19 @@
data-test="edit-channel"
@click.stop
>
<VListTileAction>
<VListTileAvatar>
<Icon>edit</Icon>
</VListTileAction>
</VListTileAvatar>
<VListTileTitle>{{ $tr('editChannel') }}</VListTileTitle>
</VListTile>
<VListTile
v-if="allowEdit && channel.published"
data-test="token-listitem"
@click="tokenDialog = true"
>
<VListTileAction>
<VListTileAvatar>
<Icon>content_copy</Icon>
</VListTileAction>
</VListTileAvatar>
<VListTileTitle>{{ $tr('copyToken') }}</VListTileTitle>
</VListTile>
<VListTile
Expand All @@ -165,33 +165,33 @@
target="_blank"
@click.stop
>
<VListTileAction>
<VListTileAvatar>
<Icon class="rtl-flip">
launch
</Icon>
</VListTileAction>
</VListTileAvatar>
<VListTileTitle>{{ $tr('goToWebsite') }}</VListTileTitle>
</VListTile>
<VListTile
v-if="channel.demo_server_url"
:href="channel.demo_server_url"
target="_blank"
>
<VListTileAction>
<VListTileAvatar>
<Icon class="rtl-flip">
launch
</Icon>
</VListTileAction>
</VListTileAvatar>
<VListTileTitle>{{ $tr('viewContent') }}</VListTileTitle>
</VListTile>
<VListTile
v-if="allowEdit"
data-test="delete-channel"
@click.stop="deleteDialog = true"
>
<VListTileAction>
<VListTileAvatar>
<Icon>delete</Icon>
</VListTileAction>
</VListTileAvatar>
<VListTileTitle>{{ $tr('deleteChannel') }}</VListTileTitle>
</VListTile>
</VList>
Expand Down
2 changes: 2 additions & 0 deletions contentcuration/contentcuration/frontend/shared/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import Vuetify, {
VListTileContent,
VListTileSubTitle,
VListTileTitle,
VListTileAvatar,
VMenu,
VNavigationDrawer,
VPagination,
Expand Down Expand Up @@ -199,6 +200,7 @@ Vue.use(Vuetify, {
VListTileContent,
VListTileSubTitle,
VListTileTitle,
VListTileAvatar,
VMenu,
VNavigationDrawer,
VPagination,
Expand Down

0 comments on commit 78b2a0c

Please sign in to comment.