@@ -119,11 +119,10 @@ const isCreateTokenModalOpen = ref(false)
119
119
<tr >
120
120
<th >Owner</th >
121
121
<th >Active</th >
122
- <th >Locked</th >
123
122
<th >Address</th >
124
123
<th >Public Key</th >
125
124
<th >Last Endpoint</th >
126
-
125
+ < th >Locked</ th >
127
126
</tr >
128
127
</thead >
129
128
<tbody >
@@ -134,22 +133,23 @@ const isCreateTokenModalOpen = ref(false)
134
133
<td class =" font-mono" >
135
134
<div class =" overflow-hidden text-ellipsis whitespace-nowrap" >{{ device.active }}</div >
136
135
</td >
137
- <td class =" font-mono" >
138
- <div ><font-awesome-icon class =" cursor-pointer"
139
- @click =" updateDevice([device.internal_ip], (device.is_locked) ? DeviceEditActions.Unlock : DeviceEditActions.Lock)"
140
- :icon =" device.is_locked ? Icons.Locked : Icons.Unlocked"
141
- :class =" device.is_locked ? 'text-error' : 'text-secondary'" /></div >
142
- </td >
143
136
<td class =" font-mono" >
144
137
<div class =" overflow-hidden text-ellipsis whitespace-nowrap" >{{ device.internal_ip }}</div >
145
138
</td >
146
139
<td class =" font-mono" >
147
140
<div class =" overflow-hidden text-ellipsis whitespace-nowrap" >{{ device.public_key }}</div >
148
141
</td >
149
- <td class =" font-mono relative " >
142
+ <td class =" font-mono " >
150
143
<div class =" overflow-hidden text-ellipsis whitespace-nowrap" >{{ device.last_endpoint == '<nil >' ? '-'
151
144
: device.last_endpoint}}</div >
152
- <ConfirmModal @on-confirm =" () => tryDeleteDevices([device.internal_ip])" >
145
+
146
+ </td >
147
+ <td class =" font-mono relative" >
148
+ <div ><font-awesome-icon class =" cursor-pointer"
149
+ @click =" updateDevice([device.internal_ip], (device.is_locked) ? DeviceEditActions.Unlock : DeviceEditActions.Lock)"
150
+ :icon =" device.is_locked ? Icons.Locked : Icons.Unlocked"
151
+ :class =" device.is_locked ? 'text-error' : 'text-secondary'" /></div >
152
+ <ConfirmModal @on-confirm =" () => tryDeleteDevices([device.internal_ip])" >
153
153
<button
154
154
class =" absolute right-4 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-opacity duration-200" >
155
155
<font-awesome-icon :icon =" Icons.Delete" class =" text-error hover:text-error-focus" />
0 commit comments