fix: service status
This commit is contained in:
		@@ -21,7 +21,6 @@ class Navbar extends Component
 | 
			
		||||
    }
 | 
			
		||||
    public function serviceStatusUpdated()
 | 
			
		||||
    {
 | 
			
		||||
        ray('serviceStatusUpdated');
 | 
			
		||||
        $this->check_status();
 | 
			
		||||
    }
 | 
			
		||||
    public function check_status()
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,7 @@
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="flex-1 pl-8">
 | 
			
		||||
                @if (Str::of($status)->startsWith('running'))
 | 
			
		||||
                @if (serviceStatus($resource) === 'running')
 | 
			
		||||
                    <livewire:project.shared.get-logs :server="$server" :container="$container" />
 | 
			
		||||
                @else
 | 
			
		||||
                    Service is not running.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user