Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated object key declaration in app.vue #216

Closed
t-heuser opened this issue Sep 27, 2021 · 0 comments · Fixed by #217
Closed

Duplicated object key declaration in app.vue #216

t-heuser opened this issue Sep 27, 2021 · 0 comments · Fixed by #217

Comments

@t-heuser
Copy link
Contributor

t-heuser commented Sep 27, 2021

Hi!

Was wandering through the source code and found a duplicated object key declaration. Nothing wild, but can be safely removed I guess.

'node_template': null is duplicated in lines 122 and 125.

addNode: function(target) {
target.push({
'type': 'category',
'title': this.config.translation.addNode,
'id': uuid(),
'content': null,
'node_template': null,
'image': this.selectedItem.image,
'image_alt_text': this.selectedItem.image_alt_text,
'node_template': null,
'submenu_template': null,
'columns': [],
'is_active': 0
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant