open-consul/ui-v2/app/components/ref/index.js
John Cowen 1708be54e0 ui: Add Ref component (#7442)
* ui: Add Ref component
2020-05-12 17:14:16 +00:00

10 lines
215 B
JavaScript

import Component from '@ember/component';
import { set } from '@ember/object';
export default Component.extend({
tagName: '',
didReceiveAttrs: function() {
set(this.target, this.name, this.value);
},
});