From e3b988424711ee61fe60d658783497d57f61f011 Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Fri, 16 Aug 2024 14:45:40 +0200 Subject: [PATCH] UI fix --- .../Shared/ScheduledTask/Executions.php | 12 +++++++++-- .../scheduled-task/executions.blade.php | 20 +++++++++++++++++-- .../shared/scheduled-task/show.blade.php | 4 ++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/app/Livewire/Project/Shared/ScheduledTask/Executions.php b/app/Livewire/Project/Shared/ScheduledTask/Executions.php index 7a2e14e89..3ee053e3e 100644 --- a/app/Livewire/Project/Shared/ScheduledTask/Executions.php +++ b/app/Livewire/Project/Shared/ScheduledTask/Executions.php @@ -7,8 +7,8 @@ use Livewire\Component; class Executions extends Component { public $executions = []; - public $selectedKey; + public $task; public function getListeners() { @@ -26,4 +26,12 @@ class Executions extends Component } $this->selectedKey = $key; } -} + + public function getServerTimezone() + { + $server = data_get($this, 'destination.server'); + $serverTimezone = $server->settings->server_timezone; + ray('Server Timezone:', $serverTimezone); + return $serverTimezone; + } +} \ No newline at end of file diff --git a/resources/views/livewire/project/shared/scheduled-task/executions.blade.php b/resources/views/livewire/project/shared/scheduled-task/executions.blade.php index afbf1ea93..cf7a591d7 100644 --- a/resources/views/livewire/project/shared/scheduled-task/executions.blade.php +++ b/resources/views/livewire/project/shared/scheduled-task/executions.blade.php @@ -24,9 +24,25 @@ @endif