Call super with arguments to safeguard against future changes

pull/14971/head
wenincode 2022-10-18 11:53:24 -06:00
parent 815439b593
commit 9da2a73785
1 changed files with 2 additions and 2 deletions

View File

@ -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}`;