Skip to content
Snippets Groups Projects
Commit 97462b8e authored by Ugo Albanese's avatar Ugo Albanese
Browse files

Merged NRRPLT-8255-custom-environments-displayed-as-public into development

[NRRPLT-8255] Fix Custom environments displayed as public.

Approved-by: Ugo Albanese
parent be0c738a
No related branches found
No related tags found
No related merge requests found
...@@ -42,11 +42,11 @@ ...@@ -42,11 +42,11 @@
<div class="list-entry-container left-right" ng-show="entity.thumbnail!==''" ng-class="{selected: (entity.path == vm.environment.path), hover:isHovered && (entity.path != vm.environment.path)}"> <div class="list-entry-container left-right" ng-show="entity.thumbnail!==''" ng-class="{selected: (entity.path == vm.environment.path), hover:isHovered && (entity.path != vm.environment.path)}">
<div class="list-entry-left" style="position:relative" ng-class="{selected: entity.path == vm.environment.path}"> <div class="list-entry-left" style="position:relative" ng-class="{selected: entity.path == vm.environment.path}">
<div ng-if="!entity.custom" style="position:absolute"> <div ng-if="!entity.isCustom" style="position:absolute">
<div class="public-tag" > public </div> <div class="public-tag" > public </div>
</div> </div>
<div ng-if="entity.custom" style="position:absolute"> <div ng-if="entity.isCustom" style="position:absolute">
<div class="private-tag" > private </div> <div class="private-tag" > private </div>
</div> </div>
......
...@@ -146,10 +146,6 @@ ...@@ -146,10 +146,6 @@
isArray: true, isArray: true,
url: `${this.STORAGE_BASE_URL}/models/user/:modelType` url: `${this.STORAGE_BASE_URL}/models/user/:modelType`
}), }),
extractZip: buildAction({
method: 'PUT',
url: `${this.STORAGE_BASE_URL}/custommodel/:modelPath`
}),
getAllModels: buildAction({ getAllModels: buildAction({
method: 'GET', method: 'GET',
isArray: true, isArray: true,
...@@ -575,10 +571,6 @@ ...@@ -575,10 +571,6 @@
).$promise; ).$promise;
} }
extractZip(modelPath) {
return this.proxyRsc.extractZip({ modelPath }, null).$promise;
}
getKnowledgeGraphBrains(query) { getKnowledgeGraphBrains(query) {
return this.proxyRsc.getKnowledgeGraphBrains({ query }).$promise; return this.proxyRsc.getKnowledgeGraphBrains({ query }).$promise;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment