Fix editor button disabled bindings
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
@onclick="HandleReparseClickAsync"
|
||||
@onclick:stopPropagation="true"
|
||||
@onclick:preventDefault="true"
|
||||
disabled="@IsSaving || IsReparsing">
|
||||
disabled="@(IsSaving || IsReparsing)">
|
||||
@(IsReparsing ? "Generating..." : "Generate From Quick Input")
|
||||
</button>
|
||||
</div>
|
||||
@@ -287,8 +287,8 @@
|
||||
</div>
|
||||
|
||||
<footer class="critical-editor-footer">
|
||||
<button type="button" class="btn btn-link" @onclick="OnClose" disabled="@IsSaving">Cancel</button>
|
||||
<button type="submit" class="btn-ritual" disabled="@IsSaving">
|
||||
<button type="button" class="btn btn-link" @onclick="OnClose" disabled="@(IsSaving)">Cancel</button>
|
||||
<button type="submit" class="btn-ritual" disabled="@(IsSaving)">
|
||||
@(IsSaving ? "Saving..." : "Save Cell")
|
||||
</button>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user