github.com/manicqin/nomad@v0.9.5/ui/app/serializers/service.js (about)

     1  import ApplicationSerializer from './application';
     2  
     3  export default ApplicationSerializer.extend({
     4    attrs: {
     5      connect: 'Connect',
     6    },
     7  
     8    normalize(typeHash, hash) {
     9      if (!hash.Tags) {
    10        hash.Tags = [];
    11      }
    12  
    13      return this._super(typeHash, hash);
    14    },
    15  });