fix(backend): readonly is readonly
This commit is contained in:
parent
2c2c104bbf
commit
99e5bb0d98
@ -42,7 +42,9 @@ class ReadOnlyBackendService {
|
||||
*/
|
||||
getReadOnlyId(whiteboardId) {
|
||||
// make sure it's inited
|
||||
this.init(whiteboardId);
|
||||
if (this.isReadOnly(whiteboardId)) return whiteboardId;
|
||||
// run in isReadOnly
|
||||
// this.init(whiteboardId);
|
||||
return this.#idToReadOnlyId.get(whiteboardId);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user