Skip to content

Commit

Permalink
added styling to refresh button
Browse files Browse the repository at this point in the history
Signed-off-by: Gurjeet Matharu <gmatharu12@gmail.com>
  • Loading branch information
gurjmatharu committed Oct 25, 2023
1 parent 49fb81d commit 7c2720f
Showing 1 changed file with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@
:show-filter-match-modes="false"
>
<template #body="{ data }">
<StatusChip :status="data.state" />
<RefreshPassword
v-if="data.state === 'approved'"
:id="data.reservation_id"
:email="data.contact_email"
@success="showModal"
/>
<div class="state-container">
<StatusChip :status="data.state" />
<RefreshPassword
v-if="data.state === 'approved'"
:id="data.reservation_id"
:email="data.contact_email"
@success="showModal"
/>
</div>
</template>
<template #filter="{ filterModel, filterCallback }">
<InputText
Expand Down Expand Up @@ -251,3 +253,8 @@ const filter = ref({
// necessary for expanding rows, we don't do anything with this
const expandedRows = ref([]);
</script>
<style scoped>
.state-container {
display: flex;
}
</style>

0 comments on commit 7c2720f

Please sign in to comment.