style(be): remove unused constants

This commit is contained in:
Denis Gukov 2022-02-06 01:17:25 +05:00
parent f8d333f0b1
commit c578653f25
4 changed files with 4 additions and 13 deletions

View File

@ -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"`

View File

@ -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>

View File

@ -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>

View File

@ -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"