fix: fix modals for luigi tasks page, per oruga

This commit is contained in:
Lance Edgar 2024-07-17 19:45:47 -05:00
parent 9c466796da
commit f4f79f170a

View file

@ -79,8 +79,13 @@
@click="overnightTaskLaunchInit(props.row)"> @click="overnightTaskLaunchInit(props.row)">
Launch Launch
</b-button> </b-button>
<b-modal has-modal-card <${b}-modal has-modal-card
:active.sync="overnightTaskShowLaunchDialog"> % if request.use_oruga:
v-model:active="overnightTaskShowLaunchDialog"
% else:
:active.sync="overnightTaskShowLaunchDialog"
% endif
>
<div class="modal-card"> <div class="modal-card">
<header class="modal-card-head"> <header class="modal-card-head">
@ -127,7 +132,7 @@
</b-button> </b-button>
</footer> </footer>
</div> </div>
</b-modal> </${b}-modal>
</${b}-table-column> </${b}-table-column>
<template #empty> <template #empty>
<p class="block">No tasks defined.</p> <p class="block">No tasks defined.</p>
@ -182,8 +187,13 @@
</template> </template>
</${b}-table> </${b}-table>
<b-modal has-modal-card <${b}-modal has-modal-card
:active.sync="backfillTaskShowLaunchDialog"> % if request.use_oruga:
v-model:active="backfillTaskShowLaunchDialog"
% else:
:active.sync="backfillTaskShowLaunchDialog"
% endif
>
<div class="modal-card"> <div class="modal-card">
<header class="modal-card-head"> <header class="modal-card-head">
@ -238,7 +248,7 @@
</b-button> </b-button>
</footer> </footer>
</div> </div>
</b-modal> </${b}-modal>
% endif % endif