can we do `window.location.href = '#report-view=' + messageId` instead?