open-consul/ui/packages/consul-ui/app/serializers/proxy.js
Kenia ff8c0213fc
ui: Rename a model attribute to not be overwritten by ember-data (#9524)
* Rename a model attr to not be overwritten by ember-data

* Make sure we can click on the instances

* Make sure we can click back to the preevious page, not root

* Add a forwards/back/forwards navigation test for service instances

* Rename a model attr to not be overwritten by ember-data

Co-authored-by: John Cowen <jcowen@hashicorp.com>
2021-01-12 09:53:21 -05:00

11 lines
254 B
JavaScript

import Serializer from './application';
import { PRIMARY_KEY, SLUG_KEY } from 'consul-ui/models/proxy';
export default class ProxySerializer extends Serializer {
primaryKey = PRIMARY_KEY;
slugKey = SLUG_KEY;
attrs = {
NodeName: 'Node',
};
}