diff --git a/src/routes/(console)/organization-[organization]/+page.svelte b/src/routes/(console)/organization-[organization]/+page.svelte
index a70c03ce1..852adea22 100644
--- a/src/routes/(console)/organization-[organization]/+page.svelte
+++ b/src/routes/(console)/organization-[organization]/+page.svelte
@@ -143,7 +143,7 @@
}
});
- function findRegion(project: Models.Project) {
+ function findRegion(project: Models.Project & { region: string }) {
return regions.regions.find((region) => region.$id === project.region);
}
diff --git a/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte b/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte
index 4f65f92b5..5f786ccc9 100644
--- a/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte
+++ b/src/routes/(console)/organization-[organization]/billing/availableCredit.svelte
@@ -158,7 +158,7 @@
{#if creditList?.total > limit}
Total credits: {creditList?.total}
-
+
{/if}
{:else}
diff --git a/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte b/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte
index 9e268be74..3371ff4ed 100644
--- a/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte
+++ b/src/routes/(console)/organization-[organization]/billing/paymentHistory.svelte
@@ -165,7 +165,7 @@
{#if invoiceList.total > limit}
Total results: {invoiceList.total}
-
+
{/if}
{:else}
diff --git a/src/routes/(console)/organization-[organization]/domains/recordsCard.svelte b/src/routes/(console)/organization-[organization]/domains/recordsCard.svelte
index 4980e0890..17183c1e9 100644
--- a/src/routes/(console)/organization-[organization]/domains/recordsCard.svelte
+++ b/src/routes/(console)/organization-[organization]/domains/recordsCard.svelte
@@ -85,8 +85,7 @@
NS
-
- {nameserver}
+
{/each}
diff --git a/src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte b/src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte
index 483850329..5f4853a3e 100644
--- a/src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte
+++ b/src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte
@@ -68,8 +68,7 @@
NS
-
- {nameserver}
+
{/each}
diff --git a/src/routes/(console)/project-[project]/+error.svelte b/src/routes/(console)/project-[project]/+error.svelte
index 350889274..9ef91393f 100644
--- a/src/routes/(console)/project-[project]/+error.svelte
+++ b/src/routes/(console)/project-[project]/+error.svelte
@@ -5,6 +5,9 @@
- {page.error.status || 'Invalid Argument'}
+ {'status' in page.error
+ ? page.error.status || 'Invalid Argument'
+ : 'Invalid Argument'}
{page.error.message}
diff --git a/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/subNavigation.svelte b/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/subNavigation.svelte
index 60fb843ac..e391fd5b6 100644
--- a/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/subNavigation.svelte
+++ b/src/routes/(console)/project-[project]/databases/database-[database]/collection-[collection]/subNavigation.svelte
@@ -27,7 +27,7 @@
sortedCollections()?.find((collection) => collection.$id === collectionId)
);
- let openBottomSheet = false;
+ let openBottomSheet = $state(false);
function onResize() {
if (openBottomSheet && !$isTabletViewport) {
@@ -95,7 +95,7 @@
type="button"
class="trigger"
aria-label="Open collections"
- on:click={() => {
+ onclick={() => {
openBottomSheet = !openBottomSheet;
}}>
{selectedCollection.name}
diff --git a/src/routes/(console)/project-[project]/messaging/topicsModal.svelte b/src/routes/(console)/project-[project]/messaging/topicsModal.svelte
index de6a5f3dc..369d49895 100644
--- a/src/routes/(console)/project-[project]/messaging/topicsModal.svelte
+++ b/src/routes/(console)/project-[project]/messaging/topicsModal.svelte
@@ -138,7 +138,7 @@
Total results: {totalResults}
-
+
{:else if search}
diff --git a/src/routes/(console)/project-[project]/messaging/userTargetsModal.svelte b/src/routes/(console)/project-[project]/messaging/userTargetsModal.svelte
index 31bd6062e..048170deb 100644
--- a/src/routes/(console)/project-[project]/messaging/userTargetsModal.svelte
+++ b/src/routes/(console)/project-[project]/messaging/userTargetsModal.svelte
@@ -174,7 +174,7 @@
{/each}
Total results: {totalResults}
-
+
{:else if search}
diff --git a/src/routes/(console)/project-[project]/promoteVariableModal.svelte b/src/routes/(console)/project-[project]/promoteVariableModal.svelte
index d250984ef..fdb26c011 100644
--- a/src/routes/(console)/project-[project]/promoteVariableModal.svelte
+++ b/src/routes/(console)/project-[project]/promoteVariableModal.svelte
@@ -22,16 +22,12 @@
{#if isConflicting}
Promoting this variable will overwrite your global variable with the same name. Are you
- sure you want to promote {selectedVar.key}?
+ sure you want to promote ?
{:else}
- Are you sure you want to promote {selectedVar.key}? This will convert it to a global variable that can be accessed by other resources in
- your project.
+ Are you sure you want to promote ? This will
+ convert it to a global variable that can be accessed by other resources in your project.
{/if}
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
index a5daffb6d..ed25aafc4 100644
--- a/src/routes/+error.svelte
+++ b/src/routes/+error.svelte
@@ -7,7 +7,10 @@
- {page.error.status || 'Invalid Argument'}
+ {'status' in page.error
+ ? page.error.status || 'Invalid Argument'
+ : 'Invalid Argument'}
{page.error.message}