- 2.x - sites settings

- tags
- source-control soft deletes
This commit is contained in:
Saeed Vaziry
2024-10-06 00:04:57 +02:00
parent d1f2add699
commit 3c50e2c947
44 changed files with 972 additions and 119 deletions

View File

@ -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');
});
});
}