Prechádzať zdrojové kódy

changed the order of the navigation-panel

Warafear 7 mesiacov pred
rodič
commit
fcb56e660d

+ 7 - 6
src/app/journal/journal-home/navigation-panel/navigation-panel.component.html

@@ -62,14 +62,15 @@
         {{ "navigation.notes" | translate }}
       </div>
     </li>
+
     <li>
       <div
         class="navigation-entry"
         [class]="active === 7 ? 'active' : ''"
         (click)="setActiveProperty(7); closeAll(); closePanel()"
-        [routerLink]="'./quests'"
+        [routerLink]="'./npcs'"
       >
-        {{ "navigation.quests" | translate }}
+        {{ "navigation.npcs" | translate }}
       </div>
     </li>
     <li>
@@ -77,9 +78,9 @@
         class="navigation-entry"
         [class]="active === 8 ? 'active' : ''"
         (click)="setActiveProperty(8); closeAll(); closePanel()"
-        [routerLink]="'./npcs'"
+        [routerLink]="'./places'"
       >
-        {{ "navigation.npcs" | translate }}
+        {{ "navigation.places" | translate }}
       </div>
     </li>
     <li>
@@ -87,9 +88,9 @@
         class="navigation-entry"
         [class]="active === 9 ? 'active' : ''"
         (click)="setActiveProperty(9); closeAll(); closePanel()"
-        [routerLink]="'./places'"
+        [routerLink]="'./quests'"
       >
-        {{ "navigation.places" | translate }}
+        {{ "navigation.quests" | translate }}
       </div>
     </li>
     <li>

+ 3 - 3
src/app/journal/journal-home/navigation-panel/navigation-panel.component.ts

@@ -73,13 +73,13 @@ export class NavigationPanelComponent {
       case 'notes':
         this.active = 6;
         break;
-      case 'quests':
+      case 'npcs':
         this.active = 7;
         break;
-      case 'npcs':
+      case 'places':
         this.active = 8;
         break;
-      case 'places':
+      case 'quests':
         this.active = 9;
         break;
       case 'maps':