Changeset fe662e8 for src


Ignore:
Timestamp:
May 19, 2020, 8:37:32 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
d5199c9
Parents:
34ce2a3
git-author:
Joachim Langenbach <joachim.langenbach@…> (05/19/20 20:32:12)
git-committer:
Joachim Langenbach <joachim.langenbach@…> (05/19/20 20:37:32)
Message:
  • Scroll down to gauge edit view, after right clicking now (closes #14)
  • Redirects to login, if the user wants to add a gauge without beeing logged in
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice-webclient/src/app/water/waterdetails.component.ts

    r34ce2a3 rfe662e8  
    6464  mapClicked(point: GeoPoint){
    6565    if(!this.currentUser){
     66      this.router.navigate(['/login'], { queryParams: { returnUrl: this.router.url }});
    6667      return;
    6768    }
    … …  
    7576    this.gaugeEditing.location.push(point.latitude);
    7677    this.gaugeEditing.comment = "";
     78    (window['gnuboat-gauge-edit']) ? window['gnuboat-gauge-edit'].scrollIntoView() : '';
    7779  }
    7880
Note: See TracChangeset for help on using the changeset viewer.