Fixed hardcoded value in application comment poster

This commit is contained in:
2025-12-08 16:15:34 -05:00
parent 6a55846f19
commit 4ab803ec72
4 changed files with 33 additions and 29 deletions

View File

@@ -104,6 +104,7 @@ export async function postChatMessage(message: any, post_id: number) {
const response = await fetch(`${addr}/application/${post_id}/comment`, {
method: 'POST',
credentials: 'include',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(out),
})

View File

@@ -164,7 +164,7 @@ async function handleDeny(id) {
</div>
<ApplicationForm :read-only="readOnly" :data="appData" @submit="(e) => { postApp(e) }" class="mb-7 pb-15">
</ApplicationForm>
<div v-if="!newApp">
<div v-if="!newApp" class="pb-15">
<h3 class="scroll-m-20 text-2xl font-semibold tracking-tight mb-4">Discussion</h3>
<ApplicationChat :messages="chatData" @post="postComment"></ApplicationChat>
</div>