Insert document title when pasting internal doc url (#6352)

* refactor

* DRY
This commit is contained in:
Tom Moor
2024-01-06 13:44:11 -08:00
committed by GitHub
parent 08b1755f8e
commit 92cbceb6c7
14 changed files with 123 additions and 51 deletions

View File

@@ -219,7 +219,7 @@ export default abstract class Store<T extends Model> {
throw new Error(`Cannot fetch ${this.modelName}`);
}
const item = this.data.get(id);
const item = this.get(id);
if (item && !options.force) {
return item;
}