Skip to content

Commit

Permalink
✔ Fixxx 🤔
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed May 21, 2023
1 parent 78e77ab commit 287c84f
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 23 deletions.
1 change: 1 addition & 0 deletions dist/fansubid/browser/58.9ec63cf198f60b86.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/fansubid/browser/58.c8bc8bf18765a41b.js

This file was deleted.

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.416267b4728342bd.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.4ad9885133703541.js" type="module"></script>
<script src="runtime.6e9201e6f5e5f6ce.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.4ad9885133703541.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": 1684654254204,
"timestamp": 1684667278493,
"index": "/index.html",
"assetGroups": [
{
Expand All @@ -27,7 +27,7 @@
"/469.5a7443725b8d7b20.js",
"/471.241c3ca674ed14de.js",
"/478.1385ed213a62dbaa.js",
"/58.c8bc8bf18765a41b.js",
"/58.9ec63cf198f60b86.js",
"/628.e188413241742c3f.js",
"/750.8fffcc0b9b38b7eb.js",
"/772.32ce5784fa1c8f3a.js",
Expand All @@ -44,7 +44,7 @@
"/main.4ad9885133703541.js",
"/manifest.webmanifest",
"/polyfills.325a71d3e423341a.js",
"/runtime.416267b4728342bd.js",
"/runtime.6e9201e6f5e5f6ce.js",
"/scripts.03e7a8120a25f41a.js",
"/styles.b7715bd3777a7953.css"
],
Expand Down Expand Up @@ -101,7 +101,7 @@
"/469.5a7443725b8d7b20.js": "b77892ce13b206aabea0062ae55b88e420120060",
"/471.241c3ca674ed14de.js": "c603fe455a9ab6303e11c6635451eeabcdd9e54e",
"/478.1385ed213a62dbaa.js": "26b89605b070f80c10f02c383dd8afaefe482e48",
"/58.c8bc8bf18765a41b.js": "eda987080dc499e2b32039a6a464542ef8649d1e",
"/58.9ec63cf198f60b86.js": "1778f4a8c10bf258a61bd65ea6e8808306d37b74",
"/628.e188413241742c3f.js": "f692f17b8e6d4c7943e463535f8e99d2db5a1f71",
"/750.8fffcc0b9b38b7eb.js": "bbd66b7f80a0ab7a7558f05888e336cd5a73dcde",
"/772.32ce5784fa1c8f3a.js": "ff27d5830cdc3ab2bf8a1978ae8fd665bb174fc7",
Expand All @@ -114,11 +114,11 @@
"/960.7bac784b7ed9c6de.js": "0d18ab2675b6dd13a83cfa481215b7e8aa33f5f8",
"/common.1ac374edf29bcb18.js": "1972ca7d76be821efc66593d17996f04787660d2",
"/favicon.ico": "071facb8fab2e4b3493dcfbb0b02d7bd21bca97e",
"/index.html": "911461111f30a907df1577bec6dd55260ee3f2bd",
"/index.html": "853fa6dc928b3ea8cf674483e3a12a46a3c8a24d",
"/main.4ad9885133703541.js": "d2b970ab45aa5920c64e56b2a2e1c43557e16669",
"/manifest.webmanifest": "eafb5426cdc9fd714787e5453af315b9972875a3",
"/polyfills.325a71d3e423341a.js": "18f8a8b77e7d11be1385d438c6d218cc68c0edb3",
"/runtime.416267b4728342bd.js": "d2e6f049940adc905bea6fbeb0e62a8f872f5fc8",
"/runtime.6e9201e6f5e5f6ce.js": "02608777283b6f1193e11faece6d356355ed1638",
"/scripts.03e7a8120a25f41a.js": "2f52334f58ca527e57efab741f2fac760e6dd84d",
"/styles.b7715bd3777a7953.css": "6a4fb31261ad2bda1b8ec794be0ad4898589e453"
},
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.

2 changes: 1 addition & 1 deletion src/app/_pages/about/about.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class AboutComponent implements OnInit {

ngOnInit(): void {
if (this.gs.isBrowser) {
this. library = pkg.dependencies;
this.library = pkg.dependencies;
this.fs.initializeFab(null, '/assets/img/discord/pink.png', 'Discord Server', environment.discord.join_url, true);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class BerkasCreateComponent implements OnInit, OnDestroy {
return (this.fg.get('download_url') as FormArray);
}

createDownloadLink(): any {
createDownloadLink(): FormGroup {
const fbGroup = this.fb.group({
name: [null, Validators.compose([Validators.pattern(CONSTANTS.regexEnglishKeyboardKeys)])],
url: [null, Validators.compose([Validators.pattern(CONSTANTS.regexUrl)])]
Expand All @@ -335,15 +335,15 @@ export class BerkasCreateComponent implements OnInit, OnDestroy {
this.getDownloadUrlControl.removeAt(i);
}

addDownloadLink(): any {
addDownloadLink(): void {
this.getDownloadUrlControl.push(this.createDownloadLink());
}

get getFansubControl(): FormArray {
return (this.fg.get('fansub_list') as FormArray);
}

createFansub(): any {
createFansub(): FormGroup {
const fbGroup = this.fb.group({
fansub_id: [null, Validators.compose([Validators.required, Validators.pattern(/^\d+$/)])],
fansub_name: [null, Validators.compose([Validators.required])],
Expand Down Expand Up @@ -371,7 +371,7 @@ export class BerkasCreateComponent implements OnInit, OnDestroy {
this.subsFansubDetail.splice(i, 1);
}

addFansub(): any {
addFansub(): void {
this.getFansubControl.push(this.createFansub());
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/_pages/torrent/torrent.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h3 class="m-0">
</table>
</div>
<div class="col-12">
<marquee>Terhubung Dengan Tracker :: {{ ENV.trackerAnnounce.join(' :: ') }}</marquee>
<marquee>Terhubung Dengan Tracker :: {{ ENV.torrent.trackerAnnounce.join(' :: ') }}</marquee>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/app/_pages/user/user-list/user-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class UserListComponent implements OnInit, OnDestroy {
this.gs.bgRepeat = false;
}

get AS(): any {
get AS(): AuthService {
return this.as;
}

Expand Down
4 changes: 2 additions & 2 deletions src/app/_shared/components/left-menu/left-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ export class LeftMenuComponent implements OnInit, OnDestroy {
}
}

get sideNavExpanded(): any {
get sideNavExpanded(): boolean {
return this.lms.sideNavExpanded;
}

get linkText(): any {
get linkText(): boolean {
return this.lms.linkText;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class LiveChatComponent implements OnInit, AfterViewInit, OnDestroy {
return CONSTANTS;
}

get isAdminModFansubber(): any {
get isAdminModFansubber(): boolean {
if (this.as.currentUserSubject?.value) {
if (this.as.currentUserSubject?.value?.role === RoleModel.ADMIN || this.as.currentUserSubject?.value?.role === RoleModel.MODERATOR || this.as.currentUserSubject?.value?.role === RoleModel.FANSUBBER) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/app/_shared/services/global.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class GlobalService {
if (text) {
// http://, https://, ftp://
const urlPattern = /\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim;
// www. sans http:// or https://
// www.
const pseudoUrlPattern = /(^|[^\/])(www\.[\S]+(\b|$))/gim;
// Email addresses
const emailAddressPattern = /[\w.]+@[a-zA-Z_-]+?(?:\.[a-zA-Z]{2,6})+/gim;
Expand Down
4 changes: 2 additions & 2 deletions src/app/_shared/services/stats-server.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ export class StatsServerService {
}
}

get currentRoomValue(): any {
get currentRoomValue(): RoomInfoModel {
return this.currentRoomSubject?.value || null;
}

get globalRoomValue(): any {
get globalRoomValue(): RoomInfoModel {
return this.globalRoomSubject?.value || null;
}

Expand Down

0 comments on commit 287c84f

Please sign in to comment.