Skip to content

Commit

Permalink
fix: use actual providerId in link rows
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M <[email protected]>
  • Loading branch information
enjeck committed Dec 9, 2024
1 parent d61cf6e commit 1e5e49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/ColumnTypes/TextLinkBusiness.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function parseValue($value, ?Column $column = null): string {
return json_encode(json_encode([
'title' => $data['title'] ?? $data['resourceUrl'],
'value' => $data['resourceUrl'],
'providerId' => 'url',
'providerId' => isset($data['providerId']) ? $data['providerId'] : 'url',
]));
}
// at least title and resUrl have to be set
Expand Down

0 comments on commit 1e5e49a

Please sign in to comment.