UNPKG

@spotinst/spinnaker-deck

Version:

Spinnaker-Deck service, forked with support to Spotinst

18 lines (15 loc) 482 B
'use strict'; import { module } from 'angular'; export const DCOS_JOB_LABELS_COMPONENT = 'spinnaker.dcos.labels.component'; export const name = DCOS_JOB_LABELS_COMPONENT; // for backwards compatibility module(DCOS_JOB_LABELS_COMPONENT, []).component('dcosLabels', { bindings: { labels: '=', }, templateUrl: require('./labels.component.html'), controller: function () { if (this.labels === undefined || this.labels == null) { this.labels = {}; } }, });