Commit 4ff82a5f authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: rename field status to task_status to get scheduled activities

fix: load css using vite service for page view
parent a78cacd3
Pipeline #1055 passed with stages
in 11 minutes and 40 seconds
......@@ -113,7 +113,7 @@ class ActivityModel extends UuidModel
public function getScheduledActivities(): array
{
return $this->where('`scheduled_at` <= NOW()', null, false)
->where('status', 'queued')
->where('task_status', 'queued')
->orderBy('scheduled_at', 'ASC')
->findAll();
}
......
......@@ -7,7 +7,7 @@
<title><?= $page->title ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
<link rel="stylesheet" href="/assets/index.css"/>
<?= service('vite')->asset('styles/index.css', 'css') ?>
</head>
<body class="flex flex-col min-h-screen mx-auto">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment