We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da609e commit 46676b3Copy full SHA for 46676b3
packages/docprovider/src/ydrive.ts
@@ -206,7 +206,8 @@ export class YDrive extends Drive implements ICollaborativeDrive {
206
// A change in hash signifies that a save occurred on the server-side
207
// (e.g. a collaborator performed the save) - we want to notify the
208
// observers about this change so that they can store the new hash value.
209
- const model = await this.get(options.path, { content: false });
+ const newPath = sharedModel.state.path ?? options.path;
210
+ const model = await this.get(newPath as string, { content: false });
211
212
this._ydriveFileChanged.emit({
213
type: 'save',
0 commit comments