mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: done changes suggested by TorstenDittmann
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
};
|
||||
|
||||
const removeValue = (value: string) => {
|
||||
if (readonly) return;
|
||||
tags = tags.filter((tag) => tag !== value);
|
||||
};
|
||||
|
||||
@@ -89,7 +90,7 @@
|
||||
type="button"
|
||||
class="input-tag-delete-button"
|
||||
aria-label={`delete ${tag} tag`}
|
||||
on:click={() => !readonly && removeValue(tag)}>
|
||||
on:click={() => removeValue(tag)}>
|
||||
<span class="icon-x" aria-hidden="true" />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user