Skip to content

Commit

Permalink
temp remove non working document workspace actions
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrasmussen authored and iOvergaard committed Sep 15, 2023
1 parent 25bdc68 commit 40e0429
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/packages/documents/documents/workspace/manifests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const workspaceViewCollections: Array<ManifestWorkspaceViewCollection> = [
];

const workspaceActions: Array<ManifestWorkspaceAction> = [
/*
{
type: 'workspaceAction',
alias: 'Umb.WorkspaceAction.Document.SaveAndPublish',
Expand All @@ -96,14 +97,16 @@ const workspaceActions: Array<ManifestWorkspaceAction> = [
},
],
},
*/
{
type: 'workspaceAction',
alias: 'Umb.WorkspaceAction.Document.Save',
name: 'Save Document Workspace Action',
weight: 80,
meta: {
label: 'Save',
look: 'secondary',
look: 'primary',
color: 'positive',
api: UmbSaveWorkspaceAction,
},
conditions: [
Expand All @@ -113,6 +116,7 @@ const workspaceActions: Array<ManifestWorkspaceAction> = [
},
],
},
/*
{
type: 'workspaceAction',
alias: 'Umb.WorkspaceAction.Document.SaveAndPreview',
Expand Down Expand Up @@ -145,6 +149,7 @@ const workspaceActions: Array<ManifestWorkspaceAction> = [
},
],
},
*/
];

export const manifests = [workspace, ...workspaceEditorViews, ...workspaceViewCollections, ...workspaceActions];

0 comments on commit 40e0429

Please sign in to comment.