mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Feature #3969: Remove images tab for system DS
This commit is contained in:
parent
7074b476a4
commit
1b0542b7b2
@ -26,6 +26,10 @@ define(function(require){
|
||||
|
||||
this.element = info[RESOURCE.toUpperCase()];
|
||||
|
||||
if (this.element.TYPE == OpenNebulaDatastore.TYPES.SYSTEM_DS){
|
||||
throw "Images panel is not available for system DS";
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user