Skip to content

Commit

Permalink
Hide the add and close buttons (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohdali authored Dec 30, 2023
1 parent c59bd63 commit fd1bacd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
AddTab="@AddTabCallback"
CloseTab="@CloseTabCallback"
ActivePanelIndex="0"
AddIconClass="d-none"
AddIconToolTip="Click to open a new workflow tab" CloseIconToolTip="Close workflow"
Elevation="0"
ApplyEffectsToContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
CloseTab="@CloseTabCallback"
ActivePanelIndexChanged="OnActivePanelIndexChanged"
bind-ActivePanelIndex="@ActiveTabIndex"
AddIconClass="d-none"
AddIconToolTip="Click to open a new workflow tab" CloseIconToolTip="Close workflow"
Elevation="0"
ApplyEffectsToContainer>
@foreach (var workflowInstance in WorkflowInstances)
{
var definition = WorkflowDefinitions.First(x => x.Id == workflowInstance.DefinitionVersionId);
<MudTabPanel Text="@workflowInstance.Id" ShowCloseIcon="true" Style="height: 100%">
<MudTabPanel Text="@workflowInstance.Id" ShowCloseIcon="false" Style="height: 100%">
<WorkflowInstanceViewer
WorkflowInstance="workflowInstance"
WorkflowDefinition="definition"
Expand Down

0 comments on commit fd1bacd

Please sign in to comment.