Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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];