open-nomad/ui/app/serializers/service.js
Buck Doyle cd11cd290c Add manually-converted classes
I don’t know why the codemod ignored these files 🧐
2020-06-15 10:14:26 -05:00

16 lines
296 B
JavaScript

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