mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-01 06:58:01 +00:00
perf: Disable editing labels for the root organization
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-if="formatterArgs.showEditBtn"
|
v-if="formatterArgs.showEditBtn"
|
||||||
class="edit-btn"
|
:class="[{ 'disabled-link': this.$store.getters.currentOrgIsRoot },'edit-btn']"
|
||||||
style="padding-left: 5px"
|
style="padding-left: 5px"
|
||||||
@click="showDialog = true"
|
@click="showDialog = true"
|
||||||
>
|
>
|
||||||
@@ -269,4 +269,11 @@ export default {
|
|||||||
.tag-tip {
|
.tag-tip {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.disabled-link {
|
||||||
|
pointer-events: none;
|
||||||
|
color: grey;
|
||||||
|
cursor: default;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user