Honor "safe for web app" flags for import/export handlers
This commit is contained in:
parent
cc4b2278e7
commit
092f1cda0c
2 changed files with 13 additions and 1 deletions
|
@ -44,7 +44,12 @@
|
|||
</once-button>
|
||||
<b-button type="is-primary"
|
||||
@click="submitRun()"
|
||||
% if handler.safe_for_web_app:
|
||||
:disabled="submittingRun"
|
||||
% else:
|
||||
disabled
|
||||
title="Handler is not (yet) safe to run with this tool"
|
||||
% endif
|
||||
icon-pack="fas"
|
||||
icon-left="arrow-circle-right">
|
||||
{{ submittingRun ? "Working, please wait..." : "Run this ${handler.direction.capitalize()}" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue