Update edit header when map has been saved

We need to update the share status display at first save
This commit is contained in:
Yohan Boniface 2023-08-15 22:42:58 +02:00
parent 26b3b4b5c7
commit 99c0271285

View file

@ -991,6 +991,7 @@ L.U.Map.include({
}) })
} }
update() update()
this.once('saved', L.bind(update, this))
name.href = '#' name.href = '#'
share_status.href = '#' share_status.href = '#'
logo.href = '/' logo.href = '/'