mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
revert: encrypted string check.
This commit is contained in:
1 parent
054cb809b7
commit
c15cde9bde
1 file changed
+5
-1
+5
-1
@@ -32,6 +32,8 @@
|
||||
} from '@appwrite.io/pink-svelte';
|
||||
import { toLocaleDateTime } from '$lib/helpers/date';
|
||||
import DualTimeView from '$lib/components/dualTimeView.svelte';
|
||||
import { flags } from '$lib/flags';
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
const databaseId = page.params.database;
|
||||
@@ -167,6 +169,8 @@
|
||||
) as Models.AttributeRelationship[];
|
||||
|
||||
let checked = false;
|
||||
|
||||
let showEncrypt = flags.showAttributeEncrypt(data);
|
||||
</script>
|
||||
|
||||
<Table.Root
|
||||
@@ -256,7 +260,7 @@
|
||||
<span slot="title">Timestamp</span>
|
||||
{toLocaleDateTime(formatted.whole, true, 'UTC')}
|
||||
</DualTimeView>
|
||||
{:else if isEncryptedAttribute}
|
||||
{:else if isEncryptedAttribute && showEncrypt}
|
||||
<button on:click={(e) => e.preventDefault()}>
|
||||
<InteractiveText
|
||||
copy={false}
|
||||
|
||||
Reference in new issue
Block a user