mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
refactor: rename android overview fields
This commit is contained in:
1 parent
e5f5e370fe
commit
a14a60fe50
1 file changed
+6
-6
@@ -10,10 +10,10 @@
|
||||
import { project } from '../../../store';
|
||||
import { platform } from './store';
|
||||
|
||||
let packageName: string = null;
|
||||
let key: string = null;
|
||||
|
||||
onMount(() => {
|
||||
packageName ??= $platform.key;
|
||||
key ??= $platform.key;
|
||||
});
|
||||
|
||||
const updateHostname = async () => {
|
||||
@@ -22,7 +22,7 @@
|
||||
$project.$id,
|
||||
$platform.$id,
|
||||
$platform.name,
|
||||
packageName,
|
||||
key,
|
||||
$platform.store,
|
||||
$platform.hostname
|
||||
);
|
||||
@@ -52,16 +52,16 @@
|
||||
<svelte:fragment slot="aside">
|
||||
<FormList>
|
||||
<InputText
|
||||
id="packageName"
|
||||
id="key"
|
||||
label="Package Name"
|
||||
bind:value={packageName}
|
||||
bind:value={key}
|
||||
required
|
||||
placeholder="com.company.appname" />
|
||||
</FormList>
|
||||
</svelte:fragment>
|
||||
|
||||
<svelte:fragment slot="actions">
|
||||
<Button disabled={packageName === $platform.hostname} submit>Update</Button>
|
||||
<Button disabled={key === $platform.hostname} submit>Update</Button>
|
||||
</svelte:fragment>
|
||||
</CardGrid>
|
||||
</Form>
|
||||
Reference in new issue
Block a user