Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/update sitemap.xml (#88)

Thomas59911925c244
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 030592f9c9..71f4905259 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Changed
+
+- Updated the sitemap
+
## 1.2.0 - 14.05.2021
### Changed
diff --git a/apps/client/src/app/components/header/header.component.ts b/apps/client/src/app/components/header/header.component.ts
index 29f1251e2d..b74c7061a3 100644
--- a/apps/client/src/app/components/header/header.component.ts
+++ b/apps/client/src/app/components/header/header.component.ts
@@ -49,22 +49,20 @@ export class HeaderComponent implements OnChanges {
}
public ngOnChanges() {
- if (this.user) {
- this.hasPermissionForSocialLogin = hasPermission(
- this.info?.globalPermissions,
- permissions.enableSocialLogin
- );
+ this.hasPermissionForSocialLogin = hasPermission(
+ this.info?.globalPermissions,
+ permissions.enableSocialLogin
+ );
- this.hasPermissionForSubscription = hasPermission(
- this.info?.globalPermissions,
- permissions.enableSubscription
- );
+ this.hasPermissionForSubscription = hasPermission(
+ this.info?.globalPermissions,
+ permissions.enableSubscription
+ );
- this.hasPermissionToAccessAdminControl = hasPermission(
- this.user.permissions,
- permissions.accessAdminControl
- );
- }
+ this.hasPermissionToAccessAdminControl = hasPermission(
+ this.user?.permissions,
+ permissions.accessAdminControl
+ );
}
public impersonateAccount(aId: string) {
diff --git a/apps/client/src/assets/sitemap.xml b/apps/client/src/assets/sitemap.xml
index a24335d3db..fb4319d6ab 100644
--- a/apps/client/src/assets/sitemap.xml
+++ b/apps/client/src/assets/sitemap.xml
@@ -6,14 +6,18 @@
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>https://ghostfol.io</loc>
- <lastmod>2021-03-18T20:24:46+00:00</lastmod>
+ <lastmod>2021-05-14T20:24:46+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/about</loc>
- <lastmod>2021-03-18T20:24:46+00:00</lastmod>
+ <lastmod>2021-05-14T20:24:46+00:00</lastmod>
+ </url>
+ <url>
+ <loc>https://ghostfol.io/pricing</loc>
+ <lastmod>2021-05-14T20:24:46+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/resources</loc>
- <lastmod>2021-03-18T20:24:46+00:00</lastmod>
+ <lastmod>2021-05-14T20:24:46+00:00</lastmod>
</url>
</urlset>