Commit f7b23d6a authored by Hermann's avatar Hermann
Browse files

keep updating data reference in case of edits

parent 07644908
......@@ -53,6 +53,8 @@ export default class ItemView {
layout(children, buttons = []) {
if (!this.controller || !this.controller.data) return m(loadingScreen);
// update the data reference
this.data = this.controller.data;
return m('div', [
m(Toolbar, [
m('div', { style: { width: 'calc(100% - 48px)' } }, m('div.pe-button-row', [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment