Merge branch 'canvas/doing-stuff' into 'main'
quick fix See merge request vkuchenik/website-framework!53
This commit is contained in:
@@ -31,7 +31,7 @@ export default function Dashboard() {
|
||||
|
||||
// Prevent navigation while in Edit mode without saving or cancelling
|
||||
const handleViewChange = (nextView) => {
|
||||
if (view === "widget" && isEditable) {
|
||||
if (view === "mydashboard" && isEditable) {
|
||||
const confirmed = window.confirm(
|
||||
"You have unsaved changes. Discard them and continue?"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user