fix: make sure share modals don't have a create button
Resolves F-869
This commit is contained in:
parent
8fdd3e785d
commit
ae27502022
@ -30,10 +30,12 @@
|
||||
{{ $t('misc.cancel') }}
|
||||
</x-button>
|
||||
<x-button
|
||||
v-if="hasPrimaryAction"
|
||||
variant="primary"
|
||||
@click.prevent.stop="primary()"
|
||||
:icon="primaryIcon"
|
||||
:disabled="primaryDisabled || loading"
|
||||
class="ml-2"
|
||||
>
|
||||
{{ primaryLabel || $t('misc.create') }}
|
||||
</x-button>
|
||||
@ -60,6 +62,10 @@ defineProps({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
hasPrimaryAction: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
tertiary: {
|
||||
type: String,
|
||||
default: '',
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<create-edit
|
||||
:title="$t('list.share.header')"
|
||||
primary-label=""
|
||||
:has-primary-action="false"
|
||||
>
|
||||
<template v-if="list">
|
||||
<userTeam
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<create-edit
|
||||
:title="title"
|
||||
primary-label=""
|
||||
:has-primary-action="false"
|
||||
>
|
||||
<template v-if="namespace">
|
||||
<manageSharing
|
||||
|
Loading…
x
Reference in New Issue
Block a user