aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DashboardView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-20 09:12:11 -0400
committerbobzel <zzzman@gmail.com>2022-07-20 09:12:11 -0400
commit724c1c1228aa601fdbbed93dde68a5a9fa9c5ae9 (patch)
tree1f5f4629b4b990c619ee4e76b3997f7706aefd8f /src/client/views/DashboardView.tsx
parenta0b032c49e792e1bcaa69a584cacacb7e950bef1 (diff)
added a 'guest' login mode. added ability for mainView to be any doc, not just a docking collection.
Diffstat (limited to 'src/client/views/DashboardView.tsx')
-rw-r--r--src/client/views/DashboardView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 526a32f5a..9ea9128bd 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -238,7 +238,7 @@ export class DashboardView extends React.Component {
} else if (doc.readOnly) {
DocServer.Control.makeReadOnly();
} else {
- DocServer.Control.makeEditable();
+ Doc.CurrentUserEmail !== 'guest' && DocServer.Control.makeEditable();
}
}