Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/rootPages/Designer/properties/PropertyManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export default function (AB) {
require("./mobile/ABMobileViewFormTextbox"),
require("./mobile/ABMobileViewLabel"),
require("./mobile/ABMobileViewList"),
require("./mobile/ABMobileViewTimeline"),
].forEach((V) => {
MobileViews.push(V.default(AB));
});
Expand Down
16 changes: 8 additions & 8 deletions src/rootPages/Designer/properties/mobile/ABMobileViewForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,15 +685,15 @@ export default function (AB) {
yPosition
);
// @TODO: filter out unknown mobile-view
if (!newFieldView) return;
if (newFieldView.defaults.key == "mobile-view") return;
if (newFieldView) {
newFieldView.once("destroyed", () =>
this.populate(currView)
);

// // Call save API
saveTasks.push(newFieldView.save());
}

newFieldView.once("destroyed", () =>
this.populate(currView)
);

// // Call save API
saveTasks.push(newFieldView.save());

// update item to UI list
f.selected = 1;
Expand Down
Loading
Loading