Compare commits
	
		
			2 Commits 
		
	
	
		
			fea52653f1
			...
			557d0de60a
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
								 | 
						557d0de60a | |
| 
							
							
								
								 | 
						8eb7d150ab | 
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
{
 | 
			
		||||
  "name": "opt-cc",
 | 
			
		||||
  "version": "1.8.5",
 | 
			
		||||
  "version": "1.8.6",
 | 
			
		||||
  "author": "Florian Hartwich <hardi@noarch.de>",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "scripts": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -448,6 +448,7 @@ const getFullTimeDate = (date, timeString) => {
 | 
			
		|||
  const time = timeString.split(':');
 | 
			
		||||
  returnDate.setHours(time[0]);
 | 
			
		||||
  returnDate.setMinutes(time[1]);
 | 
			
		||||
  returnDate.setSeconds(time[2]);
 | 
			
		||||
  return returnDate;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,9 +109,8 @@
 | 
			
		|||
            <a routerLink='{{config.loginPath}}' class="link">{{'navigation.top.login' | translate}}</a>
 | 
			
		||||
          </li>
 | 
			
		||||
          <li class="dropdown" *ngIf="features.localization">
 | 
			
		||||
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
 | 
			
		||||
               aria-expanded="false" style="padding: 12px 12px 10px 12px;">
 | 
			
		||||
              <mat-icon svgIcon="flag-{{language}}"></mat-icon>
 | 
			
		||||
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
 | 
			
		||||
              <span style="text-transform: uppercase;">{{language}}</span>
 | 
			
		||||
              <span class="caret"></span>
 | 
			
		||||
            </a>
 | 
			
		||||
            <ul class="dropdown-menu">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -90,7 +90,7 @@ export class WarSubmitComponent {
 | 
			
		|||
            error => {
 | 
			
		||||
              this.spinnerService.deactivate();
 | 
			
		||||
              this.loading = false;
 | 
			
		||||
              const errorMsg = JSON.parse(error._body).error.message;
 | 
			
		||||
              const errorMsg = error._body ? JSON.parse(error._body).error.message : error.error.error.message;
 | 
			
		||||
              this.snackBarService.showError('Error: '.concat(errorMsg), 15000);
 | 
			
		||||
            });
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue