1
0
mirror of https://github.com/jumpserver/lina.git synced 2025-05-13 02:24:21 +00:00

perf: Disable editing labels for the root organization

This commit is contained in:
wangruidong 2024-06-19 15:10:16 +08:00 committed by w940853815
parent ccd7b319c8
commit 9c8ceb04f0

View File

@ -27,7 +27,7 @@
</a>
<a
v-if="formatterArgs.showEditBtn"
class="edit-btn"
:class="[{ 'disabled-link': this.$store.getters.currentOrgIsRoot },'edit-btn']"
style="padding-left: 5px"
@click="showDialog = true"
>
@ -269,4 +269,11 @@ export default {
.tag-tip {
margin-top: 10px;
}
.disabled-link {
pointer-events: none;
color: grey;
cursor: default;
text-decoration: none;
}
</style>