Skip to content
Snippets Groups Projects
Commit 7510805a authored by Alex Petraky's avatar Alex Petraky :basketball_player_tone1: Committed by Pavel Antonov
Browse files

Установлен SingleLocale для коллекций менеджера расширений и действий

parent 2ffe1832
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ func NewActionsCollection(spaceID, envID string) *collections.Collection { ...@@ -63,7 +63,7 @@ func NewActionsCollection(spaceID, envID string) *collections.Collection {
SetDescription("Выполняется переход пользователя в пользовательском интерфейсе"). SetDescription("Выполняется переход пользователя в пользовательском интерфейсе").
WithUI(&field.UI{Widget: "Checkbox"}), WithUI(&field.UI{Widget: "Checkbox"}),
"navigation_route", field.String().SetTitle("Путь в интерфейсе (Deprecated)"), "navigation_route", field.String().SetTitle("Путь в интерфейсе (Deprecated)"),
) ).SetSingleLocale(true)
// Includes // Includes
sch.SetIncludes( sch.SetIncludes(
...@@ -124,7 +124,7 @@ func NewExtensionsCollection(spaceID, envID string) *collections.Collection { ...@@ -124,7 +124,7 @@ func NewExtensionsCollection(spaceID, envID string) *collections.Collection {
validate.EnumOpt{Name: StateInProgress.String(), Value: float64(StateInProgress)}, validate.EnumOpt{Name: StateInProgress.String(), Value: float64(StateInProgress)},
), ),
).SetTitle("Состояние").WithUI(&field.UI{Widget: "Select"}), ).SetTitle("Состояние").WithUI(&field.UI{Widget: "Select"}),
) ).SetSingleLocale(true)
// UI // UI
sch.Field.UI.ListView = &field.View{Options: map[string]interface{}{ sch.Field.UI.ListView = &field.View{Options: map[string]interface{}{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment