Skip to content

Commit

Permalink
Fixed struct config editor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeppe Zapp committed Sep 11, 2019
1 parent 194ea57 commit 1739602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hashbrown-cms",
"repository": "https://github.com/HashBrownCMS/hashbrown-cms.git",
"version": "1.2.1",
"version": "1.2.2",
"description": "A free and open-source headless CMS",
"main": "hashbrown.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Views/Editors/FieldEditors/StructEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class StructEditor extends HashBrown.Views.Editors.FieldEditors.FieldEditor {
sort: () => {
HashBrown.Helpers.UIHelper.fieldSortableObject(
config.struct,
this.getField('Struct'),
this.getField('Fields'),
(newStruct) => {
config.struct = newStruct;
}
Expand Down

0 comments on commit 1739602

Please sign in to comment.