mirror of
https://github.com/louislam/dockge.git
synced 2024-11-30 14:24:02 +00:00
fix: suggestions
implement suggestions from review
This commit is contained in:
parent
1c72c23436
commit
5b2ac56d53
2 changed files with 2 additions and 3 deletions
|
@ -77,7 +77,6 @@ export class AgentManager {
|
|||
* @param username
|
||||
* @param password
|
||||
* @param name
|
||||
* @param updatedName
|
||||
*/
|
||||
async add(url: string, username: string, password: string, name: string): Promise<Agent> {
|
||||
let bean = R.dispense("agent") as Agent;
|
||||
|
|
|
@ -51,8 +51,8 @@
|
|||
<!-- Agent Display Name -->
|
||||
<template v-if="$root.agentStatusList[endpoint]">
|
||||
<span v-if="endpoint === '' && agent.name === ''" class="badge bg-secondary me-2">Controller</span>
|
||||
<span v-else-if="agent.name === ''" :href="agent.url">{{ endpoint }}</span>
|
||||
<span v-else :href="agent.url">{{ agent.name }}</span>
|
||||
<span v-else-if="agent.name === ''" :href="agent.url" class="me-2">{{ endpoint }}</span>
|
||||
<span v-else :href="agent.url" class="me-2">{{ agent.name }}</span>
|
||||
</template>
|
||||
|
||||
<!-- Edit Name -->
|
||||
|
|
Loading…
Reference in a new issue