We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74db1d commit 40a6b24Copy full SHA for 40a6b24
src/components/cylc/workspace/Lumino.vue
@@ -258,7 +258,10 @@ async function resetToDefault () {
258
* @param {string} id - widget ID
259
*/
260
const onWidgetDeleted = (id) => {
261
+ // layoutWatcher will be triggered by DockPanel.layoutModified, so pause to avoid duplicate trigger:
262
+ layoutWatcher.pause()
263
views.value.delete(id)
264
+ layoutWatcher.resume()
265
if (!views.value.size) {
266
emit('emptied')
267
}
0 commit comments