close node info tooltip as position history shows under it

This commit is contained in:
liamcottle
2024-08-21 23:18:21 +12:00
parent eac83a58ae
commit 6e9156408e

View File

@ -2605,6 +2605,9 @@
this.selectedNode = null; this.selectedNode = null;
this.selectedNodeToShowPositionHistory = node; this.selectedNodeToShowPositionHistory = node;
// close node info tooltip as position history shows under it
window.closeAllTooltips();
// reset default time range when opening position history ui // reset default time range when opening position history ui
// YYYY-MM-DDTHH:mm is the format expected by the datetime-local input type // YYYY-MM-DDTHH:mm is the format expected by the datetime-local input type
this.positionHistoryDateTimeFrom = moment().subtract(1, "hours").format('YYYY-MM-DDTHH:mm'); this.positionHistoryDateTimeFrom = moment().subtract(1, "hours").format('YYYY-MM-DDTHH:mm');