mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
- 2.x - sites settings
- tags - source-control soft deletes
This commit is contained in:
@ -68,6 +68,12 @@ public function getWidgets(): array
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->site->isReady()) {
|
||||
if (in_array(SiteFeature::DEPLOYMENT, $this->site->type()->supportedFeatures())) {
|
||||
$widgets[] = [Widgets\DeploymentsList::class, ['site' => $this->site]];
|
||||
}
|
||||
}
|
||||
|
||||
return $widgets;
|
||||
}
|
||||
|
||||
@ -118,6 +124,8 @@ private function deployAction(): Action
|
||||
->success()
|
||||
->title('Deployment started!')
|
||||
->send();
|
||||
|
||||
$this->dispatch('$refresh');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user