fix: opening the list share dialog hangs everything
https://github.com/go-vikunja/frontend/issues/60
This commit is contained in:
parent
346a6a568d
commit
978cb9769e
1 changed files with 8 additions and 8 deletions
|
@ -48,13 +48,13 @@
|
||||||
</td>
|
</td>
|
||||||
</template>
|
</template>
|
||||||
<td class="type">
|
<td class="type">
|
||||||
<template v-if="s.right === rights.ADMIN">
|
<template v-if="s.right === RIGHTS.ADMIN">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="lock"/>
|
<icon icon="lock"/>
|
||||||
</span>
|
</span>
|
||||||
{{ $t('list.share.right.admin') }}
|
{{ $t('list.share.right.admin') }}
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="s.right === rights.READ_WRITE">
|
<template v-else-if="s.right === RIGHTS.READ_WRITE">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="pen"/>
|
<icon icon="pen"/>
|
||||||
</span>
|
</span>
|
||||||
|
@ -75,20 +75,20 @@
|
||||||
v-model="selectedRight[s.id]"
|
v-model="selectedRight[s.id]"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
:selected="s.right === rights.READ"
|
:selected="s.right === RIGHTS.READ"
|
||||||
:value="rights.READ"
|
:value="RIGHTS.READ"
|
||||||
>
|
>
|
||||||
{{ $t('list.share.right.read') }}
|
{{ $t('list.share.right.read') }}
|
||||||
</option>
|
</option>
|
||||||
<option
|
<option
|
||||||
:selected="s.right === rights.READ_WRITE"
|
:selected="s.right === RIGHTS.READ_WRITE"
|
||||||
:value="rights.READ_WRITE"
|
:value="RIGHTS.READ_WRITE"
|
||||||
>
|
>
|
||||||
{{ $t('list.share.right.readWrite') }}
|
{{ $t('list.share.right.readWrite') }}
|
||||||
</option>
|
</option>
|
||||||
<option
|
<option
|
||||||
:selected="s.right === rights.ADMIN"
|
:selected="s.right === RIGHTS.ADMIN"
|
||||||
:value="rights.ADMIN"
|
:value="RIGHTS.ADMIN"
|
||||||
>
|
>
|
||||||
{{ $t('list.share.right.admin') }}
|
{{ $t('list.share.right.admin') }}
|
||||||
</option>
|
</option>
|
||||||
|
|
Loading…
Reference in a new issue