diff --git a/src/plugins/notebook/components/notebook-embed.vue b/src/plugins/notebook/components/notebook-embed.vue index cef344eceb..92a590888f 100644 --- a/src/plugins/notebook/components/notebook-embed.vue +++ b/src/plugins/notebook/components/notebook-embed.vue @@ -169,12 +169,10 @@ export default { const bounds = this.openmct.time.bounds(); const isTimeBoundChanged = this.embed.bounds.start !== bounds.start - && this.embed.bounds.end !== bounds.end; + || this.embed.bounds.end !== bounds.end; const isFixedTimespanMode = !this.openmct.time.clock(); this.openmct.time.stopClock(); - window.location.href = link; - let message = ''; if (isTimeBoundChanged) { this.openmct.time.bounds({ @@ -188,7 +186,11 @@ export default { message = 'Time bound values changed to fixed timespan mode'; } - this.openmct.notifications.alert(message); + if (message.length) { + this.openmct.notifications.alert(message); + } + + window.location.href = link; }, formatTime(unixTime, timeFormat) { return Moment.utc(unixTime).format(timeFormat);