mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Update other occurrences 'envVar' of 'environment variables' to
This commit is contained in:
1 parent
1c793fd83c
commit
db7dd128bd
2 files changed
+3
-3
No files matched your search
@@ -101,7 +101,7 @@ export const migrationFormToResources = (
|
||||
addResource('function');
|
||||
}
|
||||
if (formData.functions.env) {
|
||||
addResource('envVar');
|
||||
addResource('environment variable');
|
||||
}
|
||||
if (formData.functions.inactive) {
|
||||
addResource('deployment');
|
||||
@@ -155,7 +155,7 @@ export const resourcesToMigrationForm = (
|
||||
if (resources.includes('function') && isVersionAtLeast(version, '1.4.0')) {
|
||||
formData.functions.root = true;
|
||||
}
|
||||
if (resources.includes('envVar') && isVersionAtLeast(version, '1.4.0')) {
|
||||
if (resources.includes('environment variable') && isVersionAtLeast(version, '1.4.0')) {
|
||||
formData.functions.env = true;
|
||||
}
|
||||
if (resources.includes('deployment') && isVersionAtLeast(version, '1.4.0')) {
|
||||
|
||||
@@ -353,7 +353,7 @@
|
||||
<div />
|
||||
<span>Import all functions and their active deployment</span>
|
||||
<ul>
|
||||
{#if resources?.includes('envVar')}
|
||||
{#if resources?.includes('environment variable')}
|
||||
<li class="checkbox-field">
|
||||
<input
|
||||
type="checkbox"
|
||||
|
||||
Reference in new issue
Block a user