open-nomad/ui/app/serializers/service.js
2019-09-04 09:39:56 -05:00

16 lines
269 B
JavaScript

import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
attrs: {
connect: 'Connect',
},
normalize(typeHash, hash) {
if (!hash.Tags) {
hash.Tags = [];
}
return this._super(typeHash, hash);
},
});