Commit 7d637b74 authored by Phil Hughes's avatar Phil Hughes

Fixed weird cancel button behaviour

parent 2e7bd099
......@@ -47,6 +47,9 @@
Store.state.reload = true;
});
},
cancel() {
Store.state.currentPage = '';
},
},
});
})();
......@@ -11,5 +11,5 @@
"ref" => "'submit-btn'" }
{{ buttonText }}
%button.btn.btn-default.pull-right{ type: "button",
"@click.stop.prevent" => "currentPage = ''" }
"@click.stop.prevent" => "cancel" }
Cancel
Markdown is supported
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