Skip to content

Commit

Permalink
fix: disable history row clicking that is crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
glorat committed Nov 13, 2022
1 parent dafd088 commit 15c8e3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/lib/assetdb/components/QuoteSourceHistoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<q-table :rows="history" :columns="columns" v-model:expanded="expanded" :loading="loading">
<template v-slot:body="props">
<q-tr :props="props" @click="props.expand = !props.expand" style="cursor: pointer">
<q-tr :props="props" @click="onRowClick" style="cursor: pointer">
<q-td
v-for="col in props.cols"
:key="col.name"
Expand Down Expand Up @@ -86,6 +86,9 @@
}
},
methods: {
onRowClick() {
console.log('row clicked')
},
async refresh() {
this.loading = true;
try {
Expand Down

0 comments on commit 15c8e3e

Please sign in to comment.