Browse Source

Feature/update sitemap.xml (#88)

* Update sitemap

* Update changelog

* Fix permissions in header component
pull/89/head
Thomas 4 years ago
committed by GitHub
parent
commit
59911925c2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      CHANGELOG.md
  2. 4
      apps/client/src/app/components/header/header.component.ts
  3. 10
      apps/client/src/assets/sitemap.xml

6
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/), 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). 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 ## 1.2.0 - 14.05.2021
### Changed ### Changed

4
apps/client/src/app/components/header/header.component.ts

@ -49,7 +49,6 @@ export class HeaderComponent implements OnChanges {
} }
public ngOnChanges() { public ngOnChanges() {
if (this.user) {
this.hasPermissionForSocialLogin = hasPermission( this.hasPermissionForSocialLogin = hasPermission(
this.info?.globalPermissions, this.info?.globalPermissions,
permissions.enableSocialLogin permissions.enableSocialLogin
@ -61,11 +60,10 @@ export class HeaderComponent implements OnChanges {
); );
this.hasPermissionToAccessAdminControl = hasPermission( this.hasPermissionToAccessAdminControl = hasPermission(
this.user.permissions, this.user?.permissions,
permissions.accessAdminControl permissions.accessAdminControl
); );
} }
}
public impersonateAccount(aId: string) { public impersonateAccount(aId: string) {
if (aId) { if (aId) {

10
apps/client/src/assets/sitemap.xml

@ -6,14 +6,18 @@
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url> <url>
<loc>https://ghostfol.io</loc> <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>
<url> <url>
<loc>https://ghostfol.io/about</loc> <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>
<url> <url>
<loc>https://ghostfol.io/resources</loc> <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> </url>
</urlset> </urlset>

Loading…
Cancel
Save