Mercurial > gemma
changeset 3120:a77d0eafeccc
client: compare surveys: changing label of button to sync maps depending on whether maps are synced or not
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 29 Apr 2019 11:40:37 +0200 |
parents | ad5a00ccd276 |
children | adca192a4070 |
files | client/src/components/fairway/Profiles.vue |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/Profiles.vue Mon Apr 29 11:36:00 2019 +0200 +++ b/client/src/components/fairway/Profiles.vue Mon Apr 29 11:40:37 2019 +0200 @@ -412,7 +412,9 @@ return this.$gettext("Rotate Maps"); }, syncMapsTooltip() { - return this.$gettext("Syncronize Maps"); + return this.$gettext( + this.mapsAreSynced ? "Unsynchronize Maps" : "Synchronize Maps" + ); }, mapsAreSynced() { return this.syncedMaps.includes(this.comparePaneId);