Skip to content

Commit f24cb65

Browse files
committed
processing button and input locking while workflow is running
1 parent 73fbc0e commit f24cb65

File tree

11 files changed

+53
-11
lines changed

11 files changed

+53
-11
lines changed

src/components/InputBool.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputBoolFile.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputBoolSelect.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputChip.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
<template v-slot:activator="{ on }">
44
<div v-on="on">
55
<v-card
6-
:disabled="Object.values(inputData).includes(input.disabled)"
6+
:disabled="
7+
Object.values(inputData).includes(input.disabled) ||
8+
$store.state.runInfo.active == true
9+
"
710
light
811
elevation="2"
912
style="height: fit-content; resize: auto; min-height: 145px"

src/components/InputCombo.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-card-actions style="justify-content: center">
811
<v-row style="justify-content: center">

src/components/InputFile.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputLink.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputNumeric.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputSelect.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<v-card
33
light
44
elevation="2"
5-
:disabled="Object.values(inputData).includes(input.disabled)"
5+
:disabled="
6+
Object.values(inputData).includes(input.disabled) ||
7+
$store.state.runInfo.active == true
8+
"
69
>
710
<v-tooltip top>
811
<template v-slot:activator="{ on }">

src/components/InputSlide.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
light
44
elevation="2"
55
width="400px"
6-
:disabled="Object.values(inputData).includes(input.disabled)"
6+
:disabled="
7+
Object.values(inputData).includes(input.disabled) ||
8+
$store.state.runInfo.active == true
9+
"
710
>
811
<v-tooltip top>
912
<template v-slot:activator="{ on }">

0 commit comments

Comments
 (0)