Skip to content

Commit

Permalink
Merge pull request #788 from omoh09/develop
Browse files Browse the repository at this point in the history
fix sidebar
  • Loading branch information
kayleb01 authored Oct 31, 2021
2 parents 223f60a + bf2ac2a commit 8cf3ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/SidebarService.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function sidebar($dataType)
}

public static function jsonEncoded($data, $dataType){
$response = isset($data) && $dataType == null ? $data->toJson(): $data;
$response = isset($data) && $dataType != null ? $data->toJson(): $data;
return $response;
}

Expand Down

0 comments on commit 8cf3ce5

Please sign in to comment.