github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/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 });