open-nomad/ui/app/serializers/service.js

16 lines
269 B
JavaScript
Raw Normal View History

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