Fix PR notes

This commit is contained in:
jliddev
2021-06-11 09:12:53 -05:00
parent 89fb796efd
commit 976ac5e1d4
4 changed files with 2 additions and 51 deletions

View File

@@ -321,7 +321,8 @@ function createWindow(): BrowserWindow {
});
win.once("show", () => {
win.webContents.openDevTools();
// win.webContents.openDevTools();
if (mainWindowManager.isFullScreen) {
win.setFullScreen(true);
} else if (mainWindowManager.isMaximized) {

View File

@@ -12,12 +12,3 @@
"**.ts"
]
}
// {
// "extends": "../tsconfig.base.json",
// "compilerOptions": {
// "outDir": "../out-tsc/e2e",
// "module": "commonjs",
// "types": ["mocha", "node"]
// },
// "include": ["**.ts"]
// }

View File

@@ -303,30 +303,6 @@ export class AddonDetailComponent implements OnInit, OnDestroy, AfterViewChecked
};
private onOpenLink = (element: HTMLAnchorElement): boolean => {
// e.preventDefault();
// // Go up the call chain to find the tag
// const path = (e as any).path as HTMLElement[];
// let anchor: HTMLAnchorElement | undefined = undefined;
// for (const element of path) {
// if (element.tagName !== "A") {
// continue;
// }
// anchor = element as HTMLAnchorElement;
// break;
// }
// if (!anchor) {
// console.warn("No anchor in path");
// return false;
// }
// if (anchor.href.toLowerCase().indexOf("http") !== 0 || anchor.href.toLowerCase().indexOf("localhost") !== -1) {
// console.warn(`Unhandled relative path: ${anchor.href}`);
// return false;
// }
this.confirmLinkNavigation(element.href);
return false;

View File

@@ -1,21 +1,4 @@
<footer class="bg-secondary-4 text-light-2">
<!-- <a appExternalLink class="patreon-link hover-bg-secondary-2 mr-2" href="https://www.patreon.com/jliddev"
matTooltip="{{ 'PAGES.MY_ADDONS.PAGE_CONTEXT_FOOTER.PATREON_SUPPORT' | translate }}">
<img class="patron-img" src="assets/images/patreon_logo_small.png" />
</a>
<a appExternalLink class="link discord-link text-1 hover-bg-secondary-2 mr-2" href="https://discord.gg/rk4F5aD"
matTooltip="{{ 'PAGES.MY_ADDONS.PAGE_CONTEXT_FOOTER.JOIN_DISCORD' | translate }}">
<mat-icon svgIcon="fab:discord"></mat-icon>
</a> -->
<!-- <a appExternalLink class="link github-link text-1 hover-bg-secondary-2 mr-2" href="https://github.com/WowUp/WowUp"
matTooltip="{{ 'PAGES.MY_ADDONS.PAGE_CONTEXT_FOOTER.VIEW_GITHUB' | translate }}">
<mat-icon svgIcon="fab:github"></mat-icon>
</a> -->
<!-- <a appExternalLink class="link guide-link text-1 hover-bg-secondary-2 mr-2"
href="https://wowup.io/guide/section/my-addons/overview"
matTooltip="{{ 'PAGES.MY_ADDONS.PAGE_CONTEXT_FOOTER.VIEW_GUIDE' | translate }}">
<mat-icon svgIcon="far:question-circle"></mat-icon>
</a> -->
<p class="flex-grow-1 text-1">{{ sessionService.statusText$ | async }}</p>
<div class="row align-items-center text-1">
<p class="mr-3">{{ sessionService.pageContextText$ | async }}</p>