Merge branch 'canvas/doing-stuff' into 'main'

quick fix

See merge request vkuchenik/website-framework!53
This commit is contained in:
2025-08-06 19:28:27 +00:00
+1 -1
View File
@@ -31,7 +31,7 @@ export default function Dashboard() {
// Prevent navigation while in Edit mode without saving or cancelling // Prevent navigation while in Edit mode without saving or cancelling
const handleViewChange = (nextView) => { const handleViewChange = (nextView) => {
if (view === "widget" && isEditable) { if (view === "mydashboard" && isEditable) {
const confirmed = window.confirm( const confirmed = window.confirm(
"You have unsaved changes. Discard them and continue?" "You have unsaved changes. Discard them and continue?"
); );