Skip to content

Commit

Permalink
✔ Fix Some 💩
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Apr 30, 2023
1 parent 854121d commit 5213f65
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/fansubid/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<noscript>🎉 Harap Menyalakan JavaScript Untuk Dapat Mengakses Website Ini ✨</noscript>
</div>
<app-root></app-root>
<script src="runtime.c58400fc93d5aa8a.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.51e4918079f07a11.js" type="module"></script>
<script src="runtime.c58400fc93d5aa8a.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.df254bfe33f73690.js" type="module"></script>


</body></html>
1 change: 0 additions & 1 deletion dist/fansubid/browser/main.51e4918079f07a11.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/fansubid/browser/main.df254bfe33f73690.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1682843271772,
"timestamp": 1682844036803,
"index": "/index.html",
"assetGroups": [
{
Expand Down Expand Up @@ -39,7 +39,7 @@
"/common.352e8983d5b95d05.js",
"/favicon.ico",
"/index.html",
"/main.51e4918079f07a11.js",
"/main.df254bfe33f73690.js",
"/manifest.webmanifest",
"/polyfills.325a71d3e423341a.js",
"/runtime.c58400fc93d5aa8a.js",
Expand Down Expand Up @@ -110,8 +110,8 @@
"/938.ff68b5c4111cea5e.js": "080c0a983ed364772d347904ee047a1536afb931",
"/common.352e8983d5b95d05.js": "177e7ac9ed10a52b1fcd43bf59721e0ede7d7bec",
"/favicon.ico": "071facb8fab2e4b3493dcfbb0b02d7bd21bca97e",
"/index.html": "92ff6ba9e0bd842bd194b8c2862d2e88b9bdf25f",
"/main.51e4918079f07a11.js": "0dab75cd859889c4b13af75f64891d6ebb2a7b96",
"/index.html": "8c2acc697722525c076e4c14cfd4bfdfd33d313b",
"/main.df254bfe33f73690.js": "89a509e372b1f548ab1391767a30bed4aeae3211",
"/manifest.webmanifest": "eafb5426cdc9fd714787e5453af315b9972875a3",
"/polyfills.325a71d3e423341a.js": "18f8a8b77e7d11be1385d438c6d218cc68c0edb3",
"/runtime.c58400fc93d5aa8a.js": "451c08e996608473517fbcb54fc183a43d278473",
Expand Down
2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/app/_shared/components/left-menu/left-menu.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div *ngIf="AS.currentUserSubject?.value; then sudahLogin; else belumLogin;"></div>
<ng-template #sudahLogin>
<mat-nav-list>
<a mat-list-item routerLink="/user" routerLinkActive="side-menu-link-active" (click)="onMouseHoverOut()">
<a mat-list-item routerLink="/user" routerLinkActive="side-menu-link-active" (click)="LMS.onMouseHoverOut()">
<img class="jim" src="{{ AS.currentUserSubject?.value?.image_url }}" />
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.2em; padding-right: 0.2em;" class="text-truncate">
{{ AS.currentUserSubject?.value?.kartu_tanda_penduduk_.nama }} <br /> {{ AS.currentUserSubject?.value?._email }}
Expand All @@ -24,13 +24,13 @@
</ng-template>
<ng-template #belumLogin>
<mat-nav-list>
<a mat-list-item routerLink="/login" (click)="onMouseHoverOut()" routerLinkActive="side-menu-link-active">
<a mat-list-item routerLink="/login" (click)="LMS.onMouseHoverOut()" routerLinkActive="side-menu-link-active">
<mat-icon style="padding-left: 0.2em;">login</mat-icon>
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.75em; padding-right: 0.2em;">Masuk</span>
</a>
</mat-nav-list>
<mat-nav-list>
<a mat-list-item routerLink="/register" (click)="onMouseHoverOut()" routerLinkActive="side-menu-link-active">
<a mat-list-item routerLink="/register" (click)="LMS.onMouseHoverOut()" routerLinkActive="side-menu-link-active">
<mat-icon style="padding-left: 0.2em;">group_add</mat-icon>
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.75em; padding-right: 0.2em;">Daftar</span>
</a>
Expand All @@ -41,7 +41,7 @@

<mat-nav-list>
<a mat-list-item routerLink="{{ menu.link }}" *ngFor="let menu of mainMenus" routerLinkActive="side-menu-link-active"
(click)="onMouseHoverOut()">
(click)="LMS.onMouseHoverOut()">
<mat-icon style="padding-left: 0.2em;" [matBadge]="menu.badge" matBadgeColor="warn" matBadgePosition="before">{{ menu.icon }}</mat-icon>
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.75em; padding-right: 0.2em;">{{ menu.name }}</span>
</a>
Expand All @@ -50,7 +50,7 @@
<mat-divider style="margin-top: 8px;"></mat-divider>

<mat-nav-list>
<a mat-list-item routerLink="{{ menu.link }}" *ngFor="let menu of contentMenus" routerLinkActive="side-menu-link-active" (click)="onMouseHoverOut()">
<a mat-list-item routerLink="{{ menu.link }}" *ngFor="let menu of contentMenus" routerLinkActive="side-menu-link-active" (click)="LMS.onMouseHoverOut()">
<mat-icon style="padding-left: 0.2em;" [matBadge]="menu.badge" matBadgeColor="warn" matBadgePosition="before">{{ menu.icon }}</mat-icon>
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.75em; padding-right: 0.2em;">{{ menu.name }}</span>
</a>
Expand All @@ -63,7 +63,7 @@
<mat-icon style="padding-left: 0.2em;">sailing</mat-icon>
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.75em; padding-right: 0.2em;">Web Torrent</span>
</a>
<a mat-list-item routerLink="{{ menu.link }}" *ngFor="let menu of miscMenus" routerLinkActive="side-menu-link-active" (click)="onMouseHoverOut()">
<a mat-list-item routerLink="{{ menu.link }}" *ngFor="let menu of miscMenus" routerLinkActive="side-menu-link-active" (click)="LMS.onMouseHoverOut()">
<mat-icon style="padding-left: 0.2em;" [matBadge]="menu.badge" matBadgeColor="warn" matBadgePosition="before">{{ menu.icon }}</mat-icon>
<span [@animateText]="linkText ? 'show' : 'hide'" style="padding-left: 1.75em; padding-right: 0.2em;">{{ menu.name }}</span>
</a>
Expand Down
4 changes: 4 additions & 0 deletions src/app/_shared/components/left-menu/left-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ export class LeftMenuComponent implements OnInit, OnDestroy {
return this.gs;
}

get LMS(): LeftMenuService {
return this.lms;
}

get mainMenus(): Menu[] {
return this.lms.mainMenus;
}
Expand Down

0 comments on commit 5213f65

Please sign in to comment.