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 6a93195 commit e41a9c0Copy full SHA for e41a9c0
src/contents.ts
@@ -452,6 +452,17 @@ export class Drive implements Contents.IDrive {
452
throw err;
453
}*/
454
455
+ const content: Array<Contents.IModel> = drive1Contents.content;
456
+
457
+ content.forEach(item => {
458
+ if (item.path === localPath) {
459
+ const index = content.indexOf(item);
460
+ if (index !== -1) {
461
+ content.splice(index, 1);
462
+ }
463
464
+ });
465
466
this._fileChanged.emit({
467
type: 'delete',
468
oldValue: { path: localPath },
0 commit comments