forked from jsnbuchanan/crowd-funder-for-time-pwa
feat: allow selection of total vs confirmed vs unconfirmed give amounts
This commit is contained in:
@@ -194,7 +194,7 @@
|
||||
href=""
|
||||
class="text-center text-md text-white px-1.5 py-2 rounded-md mb-6"
|
||||
v-bind:class="showContactGivesClassNames()"
|
||||
@click="toggleShowContactAmounts"
|
||||
@click="toggleShowContactAmounts()"
|
||||
>
|
||||
{{ showContactGives ? "Showing" : "Hiding" }}
|
||||
amounts given with contacts (Click to
|
||||
@@ -359,13 +359,6 @@ export default class AccountViewView extends Vue {
|
||||
}
|
||||
}
|
||||
|
||||
public showContactGivesClassNames() {
|
||||
return {
|
||||
"bg-slate-900": !this.showContactGives,
|
||||
"bg-green-600": this.showContactGives,
|
||||
};
|
||||
}
|
||||
|
||||
public async exportDatabase() {
|
||||
try {
|
||||
const blob = await db.export({ prettyJson: true });
|
||||
@@ -422,6 +415,13 @@ export default class AccountViewView extends Vue {
|
||||
}
|
||||
}
|
||||
|
||||
public showContactGivesClassNames() {
|
||||
return {
|
||||
"bg-slate-900": !this.showContactGives,
|
||||
"bg-green-600": this.showContactGives,
|
||||
};
|
||||
}
|
||||
|
||||
alertMessage = "";
|
||||
alertTitle = "";
|
||||
isAlertVisible = false;
|
||||
|
||||
Reference in New Issue
Block a user