mirror of https://github.com/hashicorp/consul
15 lines
295 B
JavaScript
15 lines
295 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Component from '@ember/component';
|
|
import { set } from '@ember/object';
|
|
|
|
export default Component.extend({
|
|
tagName: '',
|
|
didReceiveAttrs: function () {
|
|
set(this.target, this.name, this.value);
|
|
},
|
|
});
|