Skip to content

Commit 900c2bd

Browse files
committed
Fix link without URL
1 parent 2a6b716 commit 900c2bd

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/NovaLinkField.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,12 @@ public function text($text)
6464

6565
return $this;
6666
}
67+
68+
/**
69+
* @return array
70+
*/
71+
public function meta()
72+
{
73+
return array_merge(['href' => $this->value], $this->meta);
74+
}
6775
}

0 commit comments

Comments
 (0)