mirror of https://github.com/apache/cloudstack.git
ui: Fix Management server comments PR 7379 UI issue (#7450)
This PR adds support for annotations to be added for the management server as a resource/type.
This commit is contained in:
parent
e035d73641
commit
2ac1b7e959
|
|
@ -77,6 +77,7 @@ public interface AnnotationService {
|
|||
list.add(EntityType.SECONDARY_STORAGE);
|
||||
list.add(EntityType.VR);
|
||||
list.add(EntityType.SYSTEM_VM);
|
||||
list.add(EntityType.MANAGEMENT_SERVER);
|
||||
if (roleType != RoleType.DomainAdmin) {
|
||||
list.add(EntityType.DOMAIN);
|
||||
list.add(EntityType.SERVICE_OFFERING);
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@ export default {
|
|||
{
|
||||
name: 'pending.jobs',
|
||||
component: shallowRef(defineAsyncComponent(() => import('@/views/infra/AsyncJobsTab.vue')))
|
||||
},
|
||||
{
|
||||
name: 'comments',
|
||||
component: shallowRef(defineAsyncComponent(() => import('@/components/view/AnnotationsTab.vue')))
|
||||
}
|
||||
],
|
||||
actions: [
|
||||
|
|
@ -81,9 +85,6 @@ export default {
|
|||
value: (record, params) => { return record.id }
|
||||
}
|
||||
}
|
||||
}, {
|
||||
name: 'comments',
|
||||
component: shallowRef(defineAsyncComponent(() => import('@/components/view/AnnotationsTab.vue')))
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue