From 45f6c83bd7b2638bf3eb15af86682a7ae1228703 Mon Sep 17 00:00:00 2001 From: Christian Zosel Date: Wed, 13 Mar 2024 11:11:13 +0100 Subject: [PATCH] fix: call correct method in document view --- addon/components/document-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/document-view.js b/addon/components/document-view.js index f6dd0fbb..7b66286f 100644 --- a/addon/components/document-view.js +++ b/addon/components/document-view.js @@ -126,7 +126,7 @@ export default class DocumentViewComponent extends Component { count: files.length, }), ); - this.afterUpload(); + this.refreshDocumentList(); } catch (error) { new ErrorHandler(this, error).notify( "alexandria.errors.upload-document",