Skip to content

Commit c15cde9

Browse files
committed
revert: encrypted string check.
1 parent 054cb80 commit c15cde9

File tree

1 file changed

+5
-1
lines changed
  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]

1 file changed

+5
-1
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
} from '@appwrite.io/pink-svelte';
3333
import { toLocaleDateTime } from '$lib/helpers/date';
3434
import DualTimeView from '$lib/components/dualTimeView.svelte';
35+
import { flags } from '$lib/flags';
36+
3537
export let data: PageData;
3638
3739
const databaseId = page.params.database;
@@ -167,6 +169,8 @@
167169
) as Models.AttributeRelationship[];
168170
169171
let checked = false;
172+
173+
let showEncrypt = flags.showAttributeEncrypt(data);
170174
</script>
171175

172176
<Table.Root
@@ -256,7 +260,7 @@
256260
<span slot="title">Timestamp</span>
257261
{toLocaleDateTime(formatted.whole, true, 'UTC')}
258262
</DualTimeView>
259-
{:else if isEncryptedAttribute}
263+
{:else if isEncryptedAttribute && showEncrypt}
260264
<button on:click={(e) => e.preventDefault()}>
261265
<InteractiveText
262266
copy={false}

0 commit comments

Comments
 (0)