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 58fd59beb1
commit 59911925c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -49,22 +49,20 @@ 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 );
);
this.hasPermissionForSubscription = hasPermission( this.hasPermissionForSubscription = hasPermission(
this.info?.globalPermissions, this.info?.globalPermissions,
permissions.enableSubscription permissions.enableSubscription
); );
this.hasPermissionToAccessAdminControl = hasPermission( this.hasPermissionToAccessAdminControl = hasPermission(
this.user.permissions, this.user?.permissions,
permissions.accessAdminControl permissions.accessAdminControl
); );
}
} }
public impersonateAccount(aId: string) { public impersonateAccount(aId: string) {

@ -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