mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 08:44:02 +00:00
Update StatusLabelService, change config key
This commit is contained in:
parent
abe9cb3db0
commit
4abfe76a49
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class StatusLabelService
|
||||||
|
|
||||||
public static function get(Status $status)
|
public static function get(Status $status)
|
||||||
{
|
{
|
||||||
if(config('instance.label.covid') == false || !$status) {
|
if(config('instance.label.covid.enabled') == false || !$status) {
|
||||||
return [
|
return [
|
||||||
'covid' => false
|
'covid' => false
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue