mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
9d21736e9f
* Add copyright headers to UI files * Ensure copywrite file ignores external libs
17 lines
412 B
JavaScript
17 lines
412 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import Component from '@ember/component';
|
|
import { set } from '@ember/object';
|
|
import Slotted from 'block-slots';
|
|
|
|
export default Component.extend(Slotted, {
|
|
tagName: '',
|
|
willRender: function () {
|
|
this._super(...arguments);
|
|
set(this, 'hasHeader', this._isRegistered('header') || this._isRegistered('subheader'));
|
|
},
|
|
});
|