mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix: rename field status to task_status to get scheduled activities
fix: load css using vite service for page view
This commit is contained in:
parent
a78cacd3aa
commit
4ff82a5f0a
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user