mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
* Revert "fix(sidebar): show docker sidebar when needed (#3852)" This reverts commit59da17dde4
. * Revert "refactor(azure): remove Azure ACI endpoint support (#3803)" This reverts commit493de20540
.
9 lines
287 B
JavaScript
9 lines
287 B
JavaScript
import _ from 'lodash-es';
|
|
|
|
export function ContainerInstanceProviderViewModel(data) {
|
|
this.Id = data.id;
|
|
this.Namespace = data.namespace;
|
|
|
|
var containerGroupType = _.find(data.resourceTypes, { resourceType: 'containerGroups' });
|
|
this.Locations = containerGroupType.locations;
|
|
}
|