diff --git a/src/lib/flags.ts b/src/lib/flags.ts index 8e339ac14..3c00ee6dc 100644 --- a/src/lib/flags.ts +++ b/src/lib/flags.ts @@ -21,5 +21,5 @@ function isFlagEnabled(name: string) { export const flags = { showSites: isFlagEnabled('sites'), showCsvImport: isFlagEnabled('csv-import'), - showAttributeEncrypt: isFlagEnabled('attribute-encrypt'), + showAttributeEncrypt: isFlagEnabled('attribute-encrypt') }; diff --git a/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte b/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte index 1b28f8225..b81a45cad 100644 --- a/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte +++ b/src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte @@ -131,51 +131,52 @@ disabled={data.required || editing} description="Indicate whether this attribute is an array. Defaults to an empty array." /> -{#if showEncrypt } - -
- - - +{#if showEncrypt} + +
+ + + - - - - Indicate whether this attribute is encrypted. Encrypted attributes cannot be - queried. - - + + + + Indicate whether this attribute is encrypted. Encrypted attributes + cannot be queried. + + - - - Available on Pro plan. Upgrade - to enable encrypted attributes. - - - - -
-
+ + + Available on Pro plan. Upgrade + to enable encrypted attributes. + + +
+
+
+
{/if}