Parcourir la source

Update StatusLabelService, change config key

Daniel Supernault il y a 4 ans
Parent
commit
4abfe76a49
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Services/StatusLabelService.php

+ 1 - 1
app/Services/StatusLabelService.php

@@ -12,7 +12,7 @@ class StatusLabelService
 
 	public static function get(Status $status)
 	{
-		if(config('instance.label.covid') == false || !$status) {
+		if(config('instance.label.covid.enabled') == false || !$status) {
 			return [
 				'covid' => false
 			];