open-consul/ui-v2/app/components/ref/index.js

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);
},
});