Skip to content

Commit

Permalink
fix: suggestions
Browse files Browse the repository at this point in the history
implement suggestions from review
  • Loading branch information
lohrbini committed Aug 20, 2024
1 parent 1c72c23 commit 5b2ac56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion backend/agent-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/DashboardHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit 5b2ac56

Please sign in to comment.