mirror of
https://github.com/louislam/dockge.git
synced 2024-11-30 14:24:02 +00:00
fix(DashboardHome): remove edit-pen for controller
remove edit-pen for controller which cannot have a friendlyname for now
This commit is contained in:
parent
2b64b3f9dd
commit
a8b75fb65a
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@
|
|||
</template>
|
||||
|
||||
<!-- Edit FriendlyName -->
|
||||
<font-awesome-icon class="ms-2" icon="pen-to-square" @click="showEditAgentFriendlynameDialog[agent.friendlyname] = !showEditAgentFriendlynameDialog[agent.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]"/>
|
||||
|
||||
<!-- 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