mirror of
https://github.com/louislam/dockge.git
synced 2024-11-30 14:24:02 +00:00
fix(DashboardHome): duplicate code
remove if condition and update to proper values to prevent duplicates
This commit is contained in:
parent
052cf17563
commit
dcc48d3240
1 changed files with 1 additions and 2 deletions
|
@ -56,8 +56,7 @@
|
|||
</template>
|
||||
|
||||
<!-- Edit FriendlyName -->
|
||||
<font-awesome-icon v-if="agent.friendlyname === '' && agent.friendlyname === ''"/>
|
||||
<font-awesome-icon v-else class="ms-2" icon="pen-to-square" @click="showEditAgentFriendlynameDialog[agent.friendlyname] = !showEditAgentFriendlynameDialog[agent.friendlyname]"/>
|
||||
<font-awesome-icon v-if="agent.friendlyname !== '' && agent.friendlyname !== ''" icon="pen-to-square" @click="showEditAgentFriendlynameDialog[agent.friendlyname] = !showEditAgentFriendlynameDialog[agent.friendlyname]" />
|
||||
|
||||
<!-- Edit Dialog -->
|
||||
<BModal v-model="showEditAgentFriendlynameDialog[agent.friendlyname]" :no-close-on-backdrop="true" :close-on-esc="true" :okTitle="$t('Update Friendlyname')" okVariant="info" @ok="updateFriendlyname(agent.friendlyname, agent.updatedFriendlyName)">
|
||||
|
|
Loading…
Reference in a new issue