mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
attempt includes fix
This commit is contained in:
1 parent
af8453d75f
commit
78fddeca76
1 file changed
+8
-8
@@ -243,7 +243,7 @@
|
||||
</ul>
|
||||
|
||||
<ul class="u-flex u-flex-vertical u-margin-block-start-16">
|
||||
{#if resources.includes('user')}
|
||||
{#if resources?.includes('user')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
@@ -263,7 +263,7 @@
|
||||
<div />
|
||||
<span>Import all users</span>
|
||||
|
||||
{#if resources.includes('team')}
|
||||
{#if resources?.includes('team')}
|
||||
<ul>
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
@@ -288,7 +288,7 @@
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{#if resources.includes('database')}
|
||||
{#if resources?.includes('database')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
@@ -307,7 +307,7 @@
|
||||
<div />
|
||||
<span>Import all databases, including collections, indexes and attributes</span>
|
||||
|
||||
{#if resources.includes('document')}
|
||||
{#if resources?.includes('document')}
|
||||
<ul>
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
@@ -332,7 +332,7 @@
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{#if resources.includes('function') && isVersionAtLeast(version, '1.4.0')}
|
||||
{#if resources?.includes('function') && isVersionAtLeast(version, '1.4.0')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
@@ -351,7 +351,7 @@
|
||||
<div />
|
||||
<span>Import all functions and their active deployment</span>
|
||||
<ul>
|
||||
{#if resources.includes('envVar')}
|
||||
{#if resources?.includes('envVar')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
@@ -364,7 +364,7 @@
|
||||
<span>Import all environment variables</span>
|
||||
</li>
|
||||
{/if}
|
||||
{#if resources.includes('deployment')}
|
||||
{#if resources?.includes('deployment')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
@@ -381,7 +381,7 @@
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{#if resources.includes('bucket') && resources.includes('file')}
|
||||
{#if resources?.includes('bucket') && resources?.includes('file')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
|
||||
Reference in new issue
Block a user