Call super with arguments to safeguard against future changes

pull/14971/head
wenincode 2 years ago
parent 815439b593
commit 9da2a73785

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

Loading…
Cancel
Save