mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
[editor] Remove character limit for AutoMessage template
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
63685ff5f2
commit
791dfe63b1
1 changed files with 2 additions and 6 deletions
|
@ -123,7 +123,7 @@
|
|||
<template-editor
|
||||
id="formAutoMessageMessage"
|
||||
v-model="models.autoMessage.message"
|
||||
:state="models.autoMessage.message ? models.autoMessage.message.length <= validateAutoMessageMessageLength : false"
|
||||
:state="models.autoMessage.message"
|
||||
@valid-template="valid => updateTemplateValid('autoMessage.message', valid)"
|
||||
/>
|
||||
<div slot="description">
|
||||
|
@ -133,7 +133,7 @@
|
|||
:icon="['fas', 'code']"
|
||||
title="Supports Templating"
|
||||
/>
|
||||
{{ models.autoMessage.message && models.autoMessage.message.length || 0 }} / {{ validateAutoMessageMessageLength }}
|
||||
Ensure the template result has a length of less than {{ validateAutoMessageMessageLength }} characters (Twitch message size limit)
|
||||
</div>
|
||||
</b-form-group>
|
||||
|
||||
|
@ -278,10 +278,6 @@ export default {
|
|||
return false
|
||||
}
|
||||
|
||||
if (this.validateAutoMessageMessageLength < this.models.autoMessage.message?.length) {
|
||||
return false
|
||||
}
|
||||
|
||||
if (!this.validateAutoMessageChannel) {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue