chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-04-19 22:45:54 +09:00
1 parent 8c9f267ad2
commit 37eba1c5a6
79 files changed
+1272 -207

No files matched your search

+4 -1
View File
@@ -165,7 +165,10 @@
};
onMount(async () => {
if (!$config?.features?.enable_automations || ($user?.role !== 'admin' && !($user?.permissions?.features?.automations ?? false))) {
if (
!$config?.features?.enable_automations ||
($user?.role !== 'admin' && !($user?.permissions?.features?.automations ?? false))
) {
goto('/');
return;
}
@@ -18,7 +18,10 @@
$: automationId = $page.params.id;
onMount(async () => {
if (!$config?.features?.enable_automations || ($user?.role !== 'admin' && !($user?.permissions?.features?.automations ?? false))) {
if (
!$config?.features?.enable_automations ||
($user?.role !== 'admin' && !($user?.permissions?.features?.automations ?? false))
) {
goto('/');
return;
}