Skip to content
Snippets Groups Projects
Commit 43ef71a9 authored by David Bühler's avatar David Bühler
Browse files

[Ivette] Shorter notification when selecting multiple locations.

parent f7bafbd0
No related branches found
No related tags found
No related merge requests found
......@@ -69,10 +69,10 @@ function updateSelection(s: MultiSelection): void {
export function setSelection(s: MultiSelection): void {
updateSelection(s);
if (s.plugin && s.markers.length > 0) {
const label =
`${s.plugin}: ${s.markers.length} locations selected, \
listed in the 'Locations' panel`;
const title = `${s.label}: ${s.markers.length} locations selected`;
const label = `${s.plugin}: ${s.markers.length} locations selected`;
const title =
`${s.label}: ${s.markers.length} locations selected`
+ `\nListed in the 'Locations' panel`;
Display.showMessage({ label, title });
Display.alertComponent('fc.kernel.locations');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment