Skip to content

Commit e23c9d8

Browse files
authored
fix table and stepper sizes (#2018)
* fix table and stepper sizes * Update config.toml
1 parent eb19c91 commit e23c9d8

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

frontend/src/components/Mining/MiningStepper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<Panel v-model:collapsed="collapsePanel" class="mb-4" toggleable>
2+
<Panel v-model:collapsed="collapsePanel" class="mb-4 grow" toggleable>
33
<template #header>
44
<Button
55
severity="secondary"

frontend/src/components/Mining/Table/MiningTable.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/>
99
<ContactInformationSidebar v-model:show="$contactInformationSidebar.status" />
1010
<DataTable
11+
v-show="showTable"
1112
ref="TableRef"
1213
v-model:selection="selectedContacts"
1314
v-model:filters="filtersStore.filters"
@@ -737,6 +738,10 @@ const ContactInformationSidebar = defineAsyncComponent(
737738
() => import('../ContactInformationSidebar.vue'),
738739
);
739740
741+
const { showTable } = defineProps<{
742+
showTable: boolean;
743+
}>();
744+
740745
const { t } = useI18n({
741746
useScope: 'local',
742747
});

frontend/src/pages/dashboard.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<template>
22
<div class="flex flex-col grow">
33
<mining-stepper v-model:collapsed="$stepper.collapsed" />
4-
<div v-show="showTable">
5-
<MiningTable />
6-
</div>
4+
<MiningTable :show-table="showTable" />
75
</div>
86
</template>
97
<script setup lang="ts">
108
const $stepper = useMiningStepper();
119
const $contactsStore = useContactsStore();
1210
const showTable = computed(() => Boolean($contactsStore.contactsList?.length));
13-
$stepper.open();
1411
</script>

supabase/config.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ enabled = true
3636
# Port to use for Supabase Studio.
3737
port = 54323
3838
# External URL of the API server that frontend connects to.
39-
api_url = "http://127.0.0.1"
39+
api_url = "http://localhost"
4040
# OpenAI API Key to use for Supabase AI in the Supabase Studio.
4141
openai_api_key = "env(OPENAI_API_KEY)"
4242

@@ -61,7 +61,7 @@ enabled = true
6161
# in emails.
6262
site_url = "http://localhost:8082"
6363
# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
64-
additional_redirect_urls = ["https://127.0.0.1:3000"]
64+
additional_redirect_urls = ["https://localhost:3000"]
6565
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
6666
jwt_expiry = 3600
6767
# If disabled, the refresh token will never expire.
@@ -106,7 +106,7 @@ redirect_uri = ""
106106
url = ""
107107
[auth.external.azure]
108108
enabled = false
109-
# Default google credentials for local development only.
109+
# Default azure credentials for local development only.
110110
client_id = ""
111111
secret = ""
112112
# Overrides the default auth redirectUrl.

0 commit comments

Comments
 (0)