mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
fixed ts checker
This commit is contained in:
parent
e658de3811
commit
526911b54f
|
@ -1,4 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
// @ts-nocheck
|
||||
// disable typescript check beacuse of error with beacon histogram options
|
||||
|
||||
|
||||
import chat_conversations from "./chat_conversations.vue";
|
||||
import chat_messages from "./chat_messages.vue";
|
||||
import chat_new_message from "./chat_new_message.vue";
|
||||
|
|
|
@ -5,7 +5,6 @@ setActivePinia(pinia);
|
|||
|
||||
import { useChatStore } from "../store/chatStore.js";
|
||||
import { getBeaconDataByCallsign } from "../js/api.js";
|
||||
import { startChatWithNewStation } from "../js/chatHandler";
|
||||
|
||||
import { ref, computed } from "vue";
|
||||
|
||||
|
@ -45,8 +44,6 @@ function newChat() {
|
|||
let callsign = this.newChatCall.value;
|
||||
callsign = callsign.toUpperCase().trim();
|
||||
if (callsign === "") return;
|
||||
//startChatWithNewStation(callsign);
|
||||
//updateAllChat(false);
|
||||
this.newChatCall.value = "";
|
||||
}
|
||||
|
||||
|
|
|
@ -244,9 +244,9 @@ def get_post_radio():
|
|||
def get_post_freedata_message():
|
||||
if request.method in ['GET']:
|
||||
result = DatabaseManagerMessages(app.event_manager).get_all_messages_json()
|
||||
return api_response(result)
|
||||
return api_response(result, 200)
|
||||
if enqueue_tx_command(command_message_send.SendMessageCommand, request.json):
|
||||
return api_response(request.json)
|
||||
return api_response(request.json, 200)
|
||||
else:
|
||||
api_abort('Error executing command...', 500)
|
||||
|
||||
|
|
Loading…
Reference in a new issue