See #152: updated front-end to use new permissions

This commit is contained in:
Eliot Berriot 2018-05-18 19:09:47 +02:00
parent 6fc4275b68
commit 4ce6715dc7
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 13 additions and 15 deletions

View file

@ -22,7 +22,7 @@
</span>
<button
@click="createImport"
v-if="request.status === 'pending' && importAction && $store.state.auth.availablePermissions['import.launch']"
v-if="request.status === 'pending' && importAction && $store.state.auth.availablePermissions['library']"
class="ui mini basic green right floated button">{{ $t('Create import') }}</button>
</div>