mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: reset on wizard close, (WIP) new roles
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
import { Query } from '@aw-labs/appwrite-console';
|
||||
|
||||
const create = async () => {
|
||||
console.log($createFunction);
|
||||
try {
|
||||
await sdkForProject.functions.create(
|
||||
$createFunction.id ?? 'unique()',
|
||||
@@ -47,13 +46,13 @@
|
||||
onDestroy(() => {
|
||||
$createFunction = {
|
||||
id: null,
|
||||
name: '',
|
||||
name: null,
|
||||
execute: [],
|
||||
runtime: '',
|
||||
runtime: null,
|
||||
vars: [],
|
||||
events: [],
|
||||
schedule: '',
|
||||
timeout: 0
|
||||
schedule: null,
|
||||
timeout: null
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -83,13 +83,13 @@
|
||||
</DropListItem>
|
||||
<DropListItem
|
||||
on:click={() => {
|
||||
addRole('guest');
|
||||
addRole('guests');
|
||||
}}>
|
||||
All guests
|
||||
</DropListItem>
|
||||
<DropListItem
|
||||
on:click={() => {
|
||||
addRole('member');
|
||||
addRole('users');
|
||||
}}>
|
||||
All users
|
||||
</DropListItem>
|
||||
|
||||
Reference in New Issue
Block a user