Commit 3c552de6 authored by Ben Hayward's avatar Ben Hayward

Don't show discard changes if not logged in

1 merge request!398[Spring/HipsterHedgehog](feat) Discard changes when creating and editing blogs #349
Pipeline #69080246 running with stages
......@@ -151,7 +151,7 @@ export class BlogEdit {
}
canDeactivate(): Observable<boolean> | boolean {
if (!this.editing) {
if (!this.editing || !window.Minds.user) {
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment