mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
feat(ui): how history only for '' project type
This commit is contained in:
parent
d9ea092c6c
commit
48bf414202
@ -6,7 +6,11 @@
|
||||
</v-toolbar>
|
||||
|
||||
<v-tabs show-arrows class="pl-4">
|
||||
<v-tab key="history" :to="`/project/${projectId}/history`">{{ $t('history') }}</v-tab>
|
||||
<v-tab
|
||||
v-if="projectType === ''"
|
||||
key="history"
|
||||
:to="`/project/${projectId}/history`"
|
||||
>{{ $t('history') }}</v-tab>
|
||||
<v-tab key="activity" :to="`/project/${projectId}/activity`">{{ $t('activity') }}</v-tab>
|
||||
<v-tab
|
||||
v-if="can(USER_PERMISSIONS.updateProject)"
|
||||
|
@ -8,7 +8,11 @@
|
||||
</v-toolbar>
|
||||
|
||||
<v-tabs show-arrows class="pl-4">
|
||||
<v-tab key="history" :to="`/project/${projectId}/history`">{{ $t('history') }}</v-tab>
|
||||
<v-tab
|
||||
v-if="projectType === ''"
|
||||
key="history"
|
||||
:to="`/project/${projectId}/history`"
|
||||
>{{ $t('history') }}</v-tab>
|
||||
<v-tab key="activity" :to="`/project/${projectId}/activity`">{{ $t('activity') }}</v-tab>
|
||||
<v-tab
|
||||
v-if="can(USER_PERMISSIONS.updateProject)"
|
||||
|
@ -13,7 +13,11 @@
|
||||
</v-toolbar>
|
||||
|
||||
<v-tabs show-arrows class="pl-4">
|
||||
<v-tab key="history" :to="`/project/${projectId}/history`">{{ $t('history') }}</v-tab>
|
||||
<v-tab
|
||||
v-if="projectType === ''"
|
||||
key="history"
|
||||
:to="`/project/${projectId}/history`"
|
||||
>{{ $t('history') }}</v-tab>
|
||||
<v-tab key="activity" :to="`/project/${projectId}/activity`">{{ $t('activity') }}</v-tab>
|
||||
<v-tab key="settings" :to="`/project/${projectId}/settings`">{{ $t('settings') }}</v-tab>
|
||||
</v-tabs>
|
||||
@ -76,6 +80,7 @@ export default {
|
||||
components: { YesNoDialog, ProjectForm },
|
||||
props: {
|
||||
projectId: Number,
|
||||
projectType: String,
|
||||
},
|
||||
|
||||
data() {
|
||||
|
Loading…
Reference in New Issue
Block a user