Consistently show loading state on compliance flow button
This commit is contained in:
parent
89eca2ddf9
commit
9229725300
7 changed files with 71 additions and 23 deletions
|
|
@ -125,9 +125,13 @@
|
|||
>
|
||||
Back
|
||||
</RouterLink>
|
||||
<button class="btn btn-primary flex-grow-1" @click="doContinue()">
|
||||
Continue
|
||||
</button>
|
||||
<ButtonLoading
|
||||
class="flex-grow-1"
|
||||
@click="doContinue"
|
||||
icon="bi-caret-right-fill"
|
||||
:loading="isUploading"
|
||||
text="Continue"
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
|
@ -135,6 +139,7 @@
|
|||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
|
||||
import ButtonLoading from "@/components/common/ButtonLoading.vue";
|
||||
import { router } from "@/rmo/route/config";
|
||||
import type { Contact, District, PublicReport } from "@/type/api";
|
||||
import HeaderCompliance from "@/rmo/components/HeaderCompliance.vue";
|
||||
|
|
@ -147,6 +152,7 @@ interface Emits {
|
|||
}
|
||||
interface Props {
|
||||
district: District;
|
||||
isUploading: boolean;
|
||||
modelValue: PublicReport;
|
||||
publicID: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue