Skip to content

Commit

Permalink
✔ Fix Dobel Notif ~
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Aug 10, 2023
1 parent 2d6febf commit bce7831
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 70 deletions.
1 change: 0 additions & 1 deletion dist/fansubid/browser/939.3cdc42642e356829.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/fansubid/browser/939.4588786b6c93c085.js

Large diffs are not rendered by default.

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.76e79d7fb1a4de40.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.ef205a82b1bc90a8.js" type="module"></script>
<script src="runtime.7e0837905976cc61.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.ef205a82b1bc90a8.js" type="module"></script>


</body></html>
12 changes: 6 additions & 6 deletions dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1691676723177,
"timestamp": 1691677751319,
"index": "/index.html",
"assetGroups": [
{
Expand Down Expand Up @@ -35,15 +35,15 @@
"/915.b99a1145c5dcfc31.js",
"/925.26c1471aec2759b1.js",
"/938.d1494db21bf67582.js",
"/939.3cdc42642e356829.js",
"/939.4588786b6c93c085.js",
"/960.1ff238710fc9f28e.js",
"/common.877f7ebf26810ac0.js",
"/favicon.ico",
"/index.html",
"/main.ef205a82b1bc90a8.js",
"/manifest.webmanifest",
"/polyfills.325a71d3e423341a.js",
"/runtime.76e79d7fb1a4de40.js",
"/runtime.7e0837905976cc61.js",
"/scripts.03e7a8120a25f41a.js",
"/styles.f0e69bbce45fc9eb.css"
],
Expand Down Expand Up @@ -108,15 +108,15 @@
"/915.b99a1145c5dcfc31.js": "77cc48365db8226a62437fd31e66710cbb34b663",
"/925.26c1471aec2759b1.js": "4628f848f9bfb50fa5672be193edd6a506f922c4",
"/938.d1494db21bf67582.js": "6cf09b6d76a76ae0fb21bf1923ce8da15d6067f8",
"/939.3cdc42642e356829.js": "71a7ade137d686758d62e6574fce0af8b2ff2d93",
"/939.4588786b6c93c085.js": "98391ce1f10ae935498e66188ae5e1b227f6597b",
"/960.1ff238710fc9f28e.js": "2a2d7bfcfc558cea67c579bd2da2c641fc84001b",
"/common.877f7ebf26810ac0.js": "4d195c4daf52b6bdfc989fbb3cbcb64d3c0408a2",
"/favicon.ico": "071facb8fab2e4b3493dcfbb0b02d7bd21bca97e",
"/index.html": "938a607a3a4f8b6e1adf97a290c134b497b4bc15",
"/index.html": "39d0311d0c676fc05dcdd734161807c9c43e4ab6",
"/main.ef205a82b1bc90a8.js": "bfece7ce395a13446adf073bd9d299b0fca78957",
"/manifest.webmanifest": "eafb5426cdc9fd714787e5453af315b9972875a3",
"/polyfills.325a71d3e423341a.js": "18f8a8b77e7d11be1385d438c6d218cc68c0edb3",
"/runtime.76e79d7fb1a4de40.js": "e2b101dd8ed7dbe70b5dd6b68cb684959552ac3e",
"/runtime.7e0837905976cc61.js": "7c1969d1a3399aba455dc18c67782596b0aa8a1b",
"/scripts.03e7a8120a25f41a.js": "2f52334f58ca527e57efab741f2fac760e6dd84d",
"/styles.f0e69bbce45fc9eb.css": "b3484fc0268fb9942051c0f86f989bb7019476b3"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ <h2 class="pt-3 border-bottom-dotted">
<div class="row gy-3">
<div class="col g-0"></div>
<div class="col-12 col-md-3">
<button type="button" mat-stroked-button class="w-100" (click)="exit()" [disabled]="submitted">
<a mat-stroked-button routerLink="/berkas" class="w-100" [disabled]="submitted">
<mat-icon class="me-1">undo</mat-icon>
Batal
</button>
</a>
</div>
<div class="col-12 col-md-3">
<button type="submit" mat-flat-button color="accent" class="w-100" [disabled]="submitted || fg.invalid || attachmentSelected?.status === 'uploading'">
Expand Down
13 changes: 0 additions & 13 deletions src/app/_pages/create/berkas-create/berkas-create.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export class BerkasCreateComponent implements OnInit, OnDestroy, CanComponentDea
subsImgbb = null;
subsBerkasCreate = null;
subsUpload = null;
subsDialog = null;

berkasType = '';

Expand Down Expand Up @@ -200,7 +199,6 @@ export class BerkasCreateComponent implements OnInit, OnDestroy, CanComponentDea
this.subsBerkasCreate?.unsubscribe();
this.uploadService.disconnect();
this.subsUpload?.unsubscribe();
this.subsDialog?.unsubscribe();
}

async canDeactivate(): Promise<boolean> {
Expand Down Expand Up @@ -607,15 +605,4 @@ export class BerkasCreateComponent implements OnInit, OnDestroy, CanComponentDea
});
}

async exit(): Promise<void> {
this.subsDialog = (await this.ds.leavePageDialog()).subscribe({
next: re => {
this.gs.log('[INFO_DIALOG_CLOSED]', re);
if (re === true) {
this.router.navigateByUrl('/berkas');
}
}
});
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ <h2 class="pt-3 border-bottom-dotted">
<div class="row gy-3">
<div class="col g-0"></div>
<div class="col-12 col-md-3">
<button type="button" mat-stroked-button class="w-100" (click)="exit()" [disabled]="submitted">
<a mat-stroked-button routerLink="/fansub" class="w-100" [disabled]="submitted">
<mat-icon class="me-1">undo</mat-icon>
Batal
</button>
</a>
</div>
<div class="col-12 col-md-3">
<button type="submit" mat-flat-button color="accent" class="w-100" [disabled]="submitted || fg.invalid">
Expand Down
13 changes: 0 additions & 13 deletions src/app/_pages/create/fansub-create/fansub-create.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class FansubCreateComponent implements OnInit, OnDestroy, CanComponentDea
subsImgbb = null;
subsFansub = null;
subsCekFansubSlug = null;
subsDialog = null;

slugInfo = '';

Expand Down Expand Up @@ -88,7 +87,6 @@ export class FansubCreateComponent implements OnInit, OnDestroy, CanComponentDea
ngOnDestroy(): void {
this.subsImgbb?.unsubscribe();
this.subsFansub?.unsubscribe();
this.subsDialog?.unsubscribe();
}

ngOnInit(): void {
Expand Down Expand Up @@ -310,15 +308,4 @@ export class FansubCreateComponent implements OnInit, OnDestroy, CanComponentDea
});
}

async exit(): Promise<void> {
this.subsDialog = (await this.ds.leavePageDialog()).subscribe({
next: re => {
this.gs.log('[INFO_DIALOG_CLOSED]', re);
if (re === true) {
this.router.navigateByUrl('/fansub');
}
}
});
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ <h2 class="pt-3 border-bottom-dotted">
<div class="row gy-3">
<div class="col g-0"></div>
<div class="col-12 col-md-3">
<button type="button" mat-stroked-button class="w-100" (click)="exit()" [disabled]="submitted">
<a mat-stroked-button routerLink="/mailbox" class="w-100" [disabled]="submitted">
<mat-icon class="me-1">undo</mat-icon>
Batal
</button>
</a>
</div>
<div class="col-12 col-md-3">
<button type="submit" mat-flat-button color="accent" class="w-100" [disabled]="submitted || fg.invalid">
Expand Down
13 changes: 0 additions & 13 deletions src/app/_pages/create/mailbox-create/mailbox-create.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export class MailboxCreateComponent implements OnInit, OnDestroy, CanComponentDe
submitted = false;

subsMail = null;
subsDialog = null;

constructor(
private activatedRoute: ActivatedRoute,
Expand Down Expand Up @@ -75,7 +74,6 @@ export class MailboxCreateComponent implements OnInit, OnDestroy, CanComponentDe

ngOnDestroy(): void {
this.subsMail?.unsubscribe();
this.subsDialog?.unsubscribe();
}

async canDeactivate(): Promise<boolean> {
Expand Down Expand Up @@ -186,15 +184,4 @@ export class MailboxCreateComponent implements OnInit, OnDestroy, CanComponentDe
}
}

async exit(): Promise<void> {
this.subsDialog = (await this.ds.leavePageDialog()).subscribe({
next: re => {
this.gs.log('[INFO_DIALOG_CLOSED]', re);
if (re === true) {
this.router.navigateByUrl('/mailbox');
}
}
});
}

}
4 changes: 2 additions & 2 deletions src/app/_pages/create/news-create/news-create.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ <h2 class="pt-3 border-bottom-dotted">
<div class="row gy-3">
<div class="col g-0"></div>
<div class="col-12 col-md-3">
<button type="button" mat-stroked-button class="w-100" (click)="exit()" [disabled]="submitted">
<a mat-stroked-button routerLink="/news" class="w-100" [disabled]="submitted">
<mat-icon class="me-1">undo</mat-icon>
Batal
</button>
</a>
</div>
<div class="col-12 col-md-3">
<button type="submit" mat-flat-button color="accent" class="w-100" [disabled]="submitted || fg.invalid">
Expand Down
13 changes: 0 additions & 13 deletions src/app/_pages/create/news-create/news-create.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export class NewsCreateComponent implements OnInit, OnDestroy, CanComponentDeact

subsNews = null;
subsImgbb = null;
subsDialog = null;

constructor(
private fb: FormBuilder,
Expand Down Expand Up @@ -71,7 +70,6 @@ export class NewsCreateComponent implements OnInit, OnDestroy, CanComponentDeact
ngOnDestroy(): void {
this.subsImgbb?.unsubscribe();
this.subsNews?.unsubscribe();
this.subsDialog?.unsubscribe();
}

async canDeactivate(): Promise<boolean> {
Expand Down Expand Up @@ -187,15 +185,4 @@ export class NewsCreateComponent implements OnInit, OnDestroy, CanComponentDeact
}
}

async exit(): Promise<void> {
this.subsDialog = (await this.ds.leavePageDialog()).subscribe({
next: re => {
this.gs.log('[INFO_DIALOG_CLOSED]', re);
if (re === true) {
this.router.navigateByUrl('/news');
}
}
});
}

}

0 comments on commit bce7831

Please sign in to comment.