File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection] Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ function isFlagEnabled(name: string) {
20
20
21
21
export const flags = {
22
22
showSites : isFlagEnabled ( 'sites' ) ,
23
- showCsvImport : isFlagEnabled ( 'csv-import' ) ,
24
23
showAttributeEncrypt : isFlagEnabled ( 'attribute-encrypt' ) ,
25
24
showIndexLengths : isFlagEnabled ( 'index-lengths' )
26
25
} ;
Original file line number Diff line number Diff line change 24
24
import { base } from ' $app/paths' ;
25
25
import { IconPlus } from ' @appwrite.io/pink-icons-svelte' ;
26
26
import type { Models } from ' @appwrite.io/console' ;
27
- import { flags } from ' $lib/flags' ;
28
27
29
28
export let data: PageData ;
30
29
100
99
analyticsSource =" database_documents" />
101
100
<Layout .Stack direction =" row" alignItems =" center" justifyContent =" flex-end" >
102
101
<ViewSelector view ={data .view } {columns } hideView isCustomCollection />
103
- {#if flags .showCsvImport (data )}
104
- <Button
105
- secondary
106
- event ={Click .DatabaseImportCsv }
107
- disabled ={! (hasAttributes && hasValidAttributes )}
108
- on:click ={() => (showImportCSV = true )}>
109
- Import CSV
110
- </Button >
111
- {/if }
102
+ <Button
103
+ secondary
104
+ event ={Click .DatabaseImportCsv }
105
+ disabled ={! (hasAttributes && hasValidAttributes )}
106
+ on:click ={() => (showImportCSV = true )}>
107
+ Import CSV
108
+ </Button >
112
109
{#if ! $isSmallViewport }
113
110
<Button
114
111
disabled ={! (hasAttributes && hasValidAttributes )}
You can’t perform that action at this time.
0 commit comments