Database password
diff --git a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
index c1662c1ee65..0814036169f 100644
--- a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
+++ b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
@@ -103,7 +103,7 @@ const NetworkRestrictions = ({}) => {
return (
<>
-
+
{
}
return (
-
+
diff --git a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx
index c1fc13403f3..4ee6623daaf 100644
--- a/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx
+++ b/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainConfig.tsx
@@ -34,7 +34,7 @@ const CustomDomainConfig = () => {
const isLoading = isSettingsLoading || isCustomDomainsLoading
return (
-
+
{isLoading ? (
diff --git a/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectPanel.tsx b/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectPanel.tsx
index b4afefdac56..31520100d9d 100644
--- a/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectPanel.tsx
+++ b/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectPanel.tsx
@@ -10,7 +10,7 @@ const DeleteProjectPanel = () => {
if (project === undefined) return null
return (
-
+
diff --git a/studio/components/interfaces/Settings/General/General.tsx b/studio/components/interfaces/Settings/General/General.tsx
index 311e032e43b..c922bf2dad7 100644
--- a/studio/components/interfaces/Settings/General/General.tsx
+++ b/studio/components/interfaces/Settings/General/General.tsx
@@ -118,7 +118,7 @@ const General = () => {
)}
{!isBranch && isOrgBilling && (
<>
-
+
@@ -131,7 +131,10 @@ const General = () => {
-
+
Pause project
diff --git a/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectPanel.tsx b/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectPanel.tsx
index 3b7805bdf0c..438e64c1787 100644
--- a/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectPanel.tsx
+++ b/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectPanel.tsx
@@ -11,7 +11,7 @@ const TransferProjectPanel = () => {
if (project === undefined) return <>>
return (
-
+
{
const urlRewriterFactory = (slug: string | string[] | undefined) => {
return (projectRef: string) => {
+ const hash = location.hash
+
if (!Array.isArray(slug)) {
- return `/project/${projectRef}?${queryString}`
+ return [`/project/${projectRef}`, queryString ?? `?${queryString}`, hash ?? `#${hash}`]
+ .filter(Boolean)
+ .join('')
}
- const slugPath = slug.reduce((a: string, b: string) => `${a}/${b}`, '').slice(1)
- return `/project/${projectRef}/${slugPath}?${queryString}`
+ const slugPath = slug.reduce((a, b) => `${a}/${b}`, '').slice(1)
+ return [
+ `/project/${projectRef}/${slugPath}`,
+ queryString ?? `?${queryString}`,
+ hash ?? `#${hash}`,
+ ]
+ .filter(Boolean)
+ .join('')
}
}