mirror of
https://github.com/kiranshila/Doplarr.git
synced 2026-03-31 06:24:10 -04:00
Limit label length in button
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
:style 1
|
||||
:custom_id (str "option-page:" uuid ":" option "-" page)
|
||||
:disabled false
|
||||
:label label})
|
||||
:label (apply str (take MAX-CHARACTERS label))})
|
||||
|
||||
(defn select-menu-option [index result]
|
||||
{:label (apply str (take MAX-CHARACTERS (or (:title result) (:name result))))
|
||||
|
||||
Reference in New Issue
Block a user