mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
fix(web): new template condition
This commit is contained in:
parent
2ec299cec2
commit
c74fac3cb4
@ -63,7 +63,7 @@
|
||||
color="primary"
|
||||
class="mr-1 pr-2"
|
||||
v-if="can(USER_PERMISSIONS.manageProjectResources)"
|
||||
@click="editItem('new'); itemApp = '';"
|
||||
@click="templateApps.length > 0 || editItem('new')"
|
||||
>
|
||||
{{ $t('newTemplate') }}
|
||||
<v-icon v-if="templateApps.length > 0">mdi-chevron-down</v-icon>
|
||||
|
Loading…
Reference in New Issue
Block a user