|
|
@@ -55,6 +55,13 @@
|
|
|
|
|
|
<template #body-cell-actions="{ row }">
|
|
|
<q-td align="center">
|
|
|
+ <q-item-section class="no-wrap" style="flex-direction: row; gap: 4px">
|
|
|
+ <q-btn
|
|
|
+ outline
|
|
|
+ icon="mdi-eye-outline"
|
|
|
+ style="width: 36px"
|
|
|
+ @click.prevent.stop="handleView(row)"
|
|
|
+ />
|
|
|
<q-btn
|
|
|
outline
|
|
|
icon="mdi-dots-vertical"
|
|
|
@@ -91,6 +98,7 @@
|
|
|
</q-list>
|
|
|
</q-menu>
|
|
|
</q-btn>
|
|
|
+ </q-item-section>
|
|
|
</q-td>
|
|
|
</template>
|
|
|
</DefaultTable>
|
|
|
@@ -139,6 +147,10 @@ async function loadContracts() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+function handleView(contract) {
|
|
|
+ // TODO: open contract view dialog
|
|
|
+}
|
|
|
+
|
|
|
function confirmAction(title, message, apiFn, contract) {
|
|
|
$q.dialog({
|
|
|
component: ContractActionConfirmDialog,
|