fix: ticket attachment upload

This commit is contained in:
alkl58
2024-03-28 19:57:24 +01:00
parent 58f6119b97
commit a5bf4e219a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class AttachmentUpload extends Component
$this->ticket = $id;
}
final public function upload(): void
final public function updatedAttachment(): void
{
$this->validate();
@@ -9,7 +9,6 @@
class="form__file"
type="file"
wire:model.live="attachment"
wire:change="upload"
style="display: none"
/>
<label class="form__button form__button--text" for="attachment">