Skip to content

Commit d00df79

Browse files
leekelleheriOvergaard
authored andcommitted
Added missing await
1 parent 221a44c commit d00df79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/documents/documents/preview/workspace-action-menu-item/preview-option.action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class UmbDocumentSaveAndPreviewWorkspaceAction extends UmbWorkspaceAction
1010
if (!workspaceContext) {
1111
throw new Error('The workspace context is missing');
1212
}
13-
workspaceContext?.saveAndPreview(this.manifest?.meta.urlProviderAlias);
13+
await workspaceContext?.saveAndPreview(this.manifest?.meta.urlProviderAlias);
1414
}
1515
}
1616

0 commit comments

Comments
 (0)