diff --git a/template/components/content_dropdown.go b/template/components/content_dropdown.go index 1040060..78c41c7 100644 --- a/template/components/content_dropdown.go +++ b/template/components/content_dropdown.go @@ -10,6 +10,7 @@ type ContentDropdown struct { type ContentDropdownItem struct { Text string Link string + ID string IsDisabled bool IsActive bool } diff --git a/template/components/content_dropdown.html b/template/components/content_dropdown.html index ce83a26..458a423 100644 --- a/template/components/content_dropdown.html +++ b/template/components/content_dropdown.html @@ -1,5 +1,5 @@ {{define "content_dropdown_item"}} -
  • {{.Text}}
  • +
  • {{.Text}}
  • {{end}} {{define "content_dropdown"}}