mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
style(be): remove unused constants
This commit is contained in:
parent
f8d333f0b1
commit
c578653f25
@ -40,15 +40,6 @@ type RetrieveQueryParams struct {
|
||||
SortInverted bool
|
||||
}
|
||||
|
||||
type ObjectReferrerType string
|
||||
|
||||
const (
|
||||
ObjectReferrerTemplate ObjectReferrerType = "template"
|
||||
ObjectReferrerInventory ObjectReferrerType = "inventory"
|
||||
ObjectReferrerRepository ObjectReferrerType = "repository"
|
||||
ObjectReferrerSchedule ObjectReferrerType = "schedules"
|
||||
)
|
||||
|
||||
type ObjectReferrer struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
@ -255,7 +255,7 @@
|
||||
</v-list-item-icon>
|
||||
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>Playbook Repositories</v-list-item-title>
|
||||
<v-list-item-title>Repositories</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
||||
|
@ -143,11 +143,11 @@
|
||||
|
||||
<v-select
|
||||
v-model="item.repository_id"
|
||||
label="Playbook Repository"
|
||||
label="Repository"
|
||||
:items="repositories"
|
||||
item-value="id"
|
||||
item-text="name"
|
||||
:rules="[v => !!v || 'Playbook Repository is required']"
|
||||
:rules="[v => !!v || 'Repository is required']"
|
||||
required
|
||||
:disabled="formSaving"
|
||||
></v-select>
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
<v-toolbar flat color="white">
|
||||
<v-app-bar-nav-icon @click="showDrawer()"></v-app-bar-nav-icon>
|
||||
<v-toolbar-title>Playbook Repositories</v-toolbar-title>
|
||||
<v-toolbar-title>Repositories</v-toolbar-title>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn
|
||||
color="primary"
|
||||
|
Loading…
Reference in New Issue
Block a user