refactor: improve ui consistency
This commit is contained in:
@@ -45,6 +45,19 @@
|
||||
color="green"
|
||||
@click.native="$emit('unselect-collection')"
|
||||
/>
|
||||
<ButtonSecondary
|
||||
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
svg="file-plus"
|
||||
:title="$t('request.new')"
|
||||
class="hidden group-hover:inline-flex"
|
||||
@click.native="
|
||||
$emit('add-request', {
|
||||
folder: collection,
|
||||
path: `${collectionIndex}`,
|
||||
})
|
||||
"
|
||||
/>
|
||||
<ButtonSecondary
|
||||
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
@@ -89,7 +102,7 @@
|
||||
>
|
||||
<SmartItem
|
||||
ref="requestAction"
|
||||
svg="plus"
|
||||
svg="file-plus"
|
||||
:label="t('request.new')"
|
||||
:shortcut="['R']"
|
||||
@click.native="
|
||||
|
||||
@@ -29,6 +29,14 @@
|
||||
</span>
|
||||
</span>
|
||||
<div class="flex">
|
||||
<ButtonSecondary
|
||||
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
svg="file-plus"
|
||||
:title="$t('request.new')"
|
||||
class="hidden group-hover:inline-flex"
|
||||
@click.native="$emit('add-request', { folder, path: folderPath })"
|
||||
/>
|
||||
<ButtonSecondary
|
||||
v-if="collectionsType.selectedTeam.myRole !== 'VIEWER'"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
@@ -68,7 +76,7 @@
|
||||
>
|
||||
<SmartItem
|
||||
ref="requestAction"
|
||||
svg="plus"
|
||||
svg="file-plus"
|
||||
:label="$t('request.new')"
|
||||
:shortcut="['R']"
|
||||
@click.native="
|
||||
|
||||
Reference in New Issue
Block a user