mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 21:24:02 +00:00
feat(compose): add friendly names
when create a new stack via UI the friendly name should also be displayed
This commit is contained in:
parent
8f142af12e
commit
62ceb44a5e
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@
|
|||
<label for="name" class="form-label">{{ $t("dockgeAgent") }}</label>
|
||||
<select v-model="stack.endpoint" class="form-select">
|
||||
<option v-for="(agent, endpoint) in $root.agentList" :key="endpoint" :value="endpoint" :disabled="$root.agentStatusList[endpoint] != 'online'">
|
||||
({{ $root.agentStatusList[endpoint] }}) {{ (endpoint) ? endpoint : $t("currentEndpoint") }}
|
||||
({{ $root.agentStatusList[endpoint] }}) {{ (agent.friendlyname !== '') ? agent.friendlyname : agent.url || $t("Controller") }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue