Removing "required" from line 13 CUSTOMEMBED.go (#22)
* Removing "required" from line 13 CUSTOMEMBED.go * updating label: archive->trasncripts Co-authored-by: Ryan <29165304+rxdn@users.noreply.github.com>
This commit is contained in:
parent
e5148d4086
commit
0b493f41dc
@ -45,7 +45,7 @@
|
||||
<span slot="header">Tickets</span>
|
||||
<div slot="content" class="col-1">
|
||||
<div class="row">
|
||||
<ChannelDropdown label="Archive Channel" col4 channels={channels} withNull={true}
|
||||
<ChannelDropdown label="Transcripts Channel" col4 channels={channels} withNull={true}
|
||||
bind:value={data.archive_channel}/>
|
||||
<Dropdown label="Overflow Category" col4 bind:value={data.overflow_category_id}>
|
||||
<option value=-1>Disabled</option>
|
||||
|
@ -10,7 +10,7 @@ type CustomEmbed struct {
|
||||
Title *string `json:"title" validate:"omitempty,min=1,max=255"`
|
||||
Description *string `json:"description" validate:"omitempty,min=1,max=4096"`
|
||||
Url *string `json:"url" validate:"omitempty,url,max=255"`
|
||||
Colour Colour `json:"colour" validate:"required,gte=0,lte=16777215"`
|
||||
Colour Colour `json:"colour" validate:"gte=0,lte=16777215"`
|
||||
Author Author `json:"author" validate:"dive"`
|
||||
ImageUrl *string `json:"image_url" validate:"omitempty,url,max=255"`
|
||||
ThumbnailUrl *string `json:"thumbnail_url" validate:"omitempty,url,max=255"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user