fix: quotation remark readonly

This commit is contained in:
puriphatt 2024-11-27 15:15:25 +07:00
parent 25e6585359
commit af2c42ce5f

View file

@ -1544,7 +1544,7 @@ async function getWorkerFromCriteria(
class="full-width" class="full-width"
:content-class="{ :content-class="{
'q-my-sm rounded': true, 'q-my-sm rounded': true,
bordered: pageState.remarkWrite, bordered: !readonly && pageState.remarkWrite,
}" }"
toolbar-bg="input-border" toolbar-bg="input-border"
style="cursor: auto; color: var(--foreground)" style="cursor: auto; color: var(--foreground)"
@ -1574,7 +1574,7 @@ async function getWorkerFromCriteria(
" "
> >
<template v-slot:toggle> <template v-slot:toggle>
<div class="text-caption row no-wrap"> <div v-if="!readonly" class="text-caption row no-wrap">
<MainButton <MainButton
:disabled="readonly" :disabled="readonly"
:solid="!pageState.remarkWrite" :solid="!pageState.remarkWrite"