mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
feat(ui): new project type
This commit is contained in:
parent
48bf414202
commit
31e8caf314
@ -79,6 +79,7 @@
|
||||
>
|
||||
<template v-slot:form="{ onSave, onError, needSave, needReset }">
|
||||
<ProjectForm
|
||||
v-if="newProjectType === ''"
|
||||
item-id="new"
|
||||
@save="onSave"
|
||||
@error="onError"
|
||||
@ -164,7 +165,10 @@
|
||||
<v-list-item-content>{{ item.name }}</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
||||
<v-list-item @click="newProjectDialog = true" v-if="user.can_create_project">
|
||||
<v-list-item
|
||||
@click="newProjectDialog = true; newProjectType = '';"
|
||||
v-if="user.can_create_project"
|
||||
>
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-plus</v-icon>
|
||||
</v-list-item-icon>
|
||||
@ -700,6 +704,7 @@ export default {
|
||||
snackbarColor: '',
|
||||
projects: null,
|
||||
newProjectDialog: null,
|
||||
newProjectType: '',
|
||||
userDialog: null,
|
||||
passwordDialog: null,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user