File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4545 <FluentDivider ></FluentDivider >
4646 <FluentMenuItem OnClick =" @ShowEditAssociationsDialog" Disabled =" @(!HasInstruction)" >Edit Product Associations</FluentMenuItem >
4747 <FluentDivider />
48- <FluentMenuItem OnClick =" @(() => TriggerAndClose(OnNewPart))" >New Part</FluentMenuItem >
49- <FluentMenuItem OnClick =" @(() => TriggerAndClose(OnNewStep))" >New Step</FluentMenuItem >
48+ <FluentMenuItem OnClick =" @(() => TriggerAndClose(OnNewPart)) " Disabled = " @(!HasInstruction )" >New Part</FluentMenuItem >
49+ <FluentMenuItem OnClick =" @(() => TriggerAndClose(OnNewStep))" Disabled = " @(!HasInstruction) " >New Step</FluentMenuItem >
5050 </FluentMenu >
5151 </div >
5252
8282 </div >
8383
8484 <div class =" menu-right-content" >
85- <button class =" btn-small" title =" Version History" @onclick =" ToggleVersionHistorySidebar" >
85+ <button class =" btn-small" title =" Version History" disabled = " @(!HasInstruction) " @onclick =" ToggleVersionHistorySidebar" >
8686 <i class =" bi bi-clock-history" ></i >
8787 </button >
8888 <div class =" save-button-container" >
You can’t perform that action at this time.
0 commit comments