From 6481ec6520a24f84f04906108d5e038753f9dfac Mon Sep 17 00:00:00 2001 From: Javier Feliz Date: Sat, 2 Aug 2025 17:03:44 -0400 Subject: [PATCH] WIP --- app/Livewire/AppInfoModal.php | 3 +++ resources/views/livewire/app-info-modal.blade.php | 1 + 2 files changed, 4 insertions(+) diff --git a/app/Livewire/AppInfoModal.php b/app/Livewire/AppInfoModal.php index 58f211d..4204600 100644 --- a/app/Livewire/AppInfoModal.php +++ b/app/Livewire/AppInfoModal.php @@ -14,6 +14,7 @@ class AppInfoModal extends Component public ?string $name = ''; public string $query = ''; public ?string $icon = null; + public ?string $redirect_uri = ''; public function updated($prop) { @@ -33,6 +34,7 @@ class AppInfoModal extends Component $this->app = Application::find($id); $this->name = $this->app->name; $this->icon = $this->app->getIconUrl(); + $this->redirect_uri = $this->app->redirect_uri; } public function save() @@ -40,6 +42,7 @@ class AppInfoModal extends Component $this->app->update([ 'name' => $this->name, 'icon' => $this->icon, + 'redirect_uri' => $this->redirect_uri, ]); $this->dispatch('app-updated', ['id' => $this->app->id]); diff --git a/resources/views/livewire/app-info-modal.blade.php b/resources/views/livewire/app-info-modal.blade.php index fd0b4aa..3036a50 100644 --- a/resources/views/livewire/app-info-modal.blade.php +++ b/resources/views/livewire/app-info-modal.blade.php @@ -18,6 +18,7 @@ +
Save