Browse Source

Call super with arguments to safeguard against future changes

pull/14971/head
wenincode 2 years ago
parent
commit
9da2a73785
  1. 4
      ui/packages/consul-ui/app/components/consul/node/agentless-notice/index.js

4
ui/packages/consul-ui/app/components/consul/node/agentless-notice/index.js

@ -6,8 +6,8 @@ export default class AgentlessNotice extends Component {
storageKey = 'nodes-agentless-dismissed';
@storageFor('notices') notices;
constructor(owner, args) {
super(owner, args);
constructor() {
super(...arguments);
if (this.args.postfix) {
this.storageKey = `nodes-agentless-dismissed-${this.args.postfix}`;

Loading…
Cancel
Save