Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mission Log Improvements #380

Merged
merged 13 commits into from
Oct 15, 2024
Prev Previous commit
Next Next commit
Add body
  • Loading branch information
ingalls committed Oct 15, 2024
commit 93f121249468e90f553ede022db76bb0f6a080c2
3 changes: 1 addition & 2 deletions api/web/src/components/CloudTAK/Menu/Mission/MissionLogs.vue
Original file line number Diff line number Diff line change
@@ -55,8 +55,8 @@
<span
v-for='keyword in log.keywords'
:key='keyword'
v-text='keyword'
class='me-1 badge badge-outline bg-blue-lt'
v-text='keyword'
/>
</div>
</div>
@@ -88,7 +88,6 @@
<script setup lang='ts'>
import { ref, computed, defineProps, onMounted } from 'vue'
import type { ComputedRef } from 'vue';
import { std } from '../../../../../src/std.ts';
import type { MissionLog } from '../../../../types.ts';
import {
IconTrash,
3 changes: 2 additions & 1 deletion api/web/src/stores/base/mission.ts
Original file line number Diff line number Diff line change
@@ -42,8 +42,9 @@ export default class Subscription {
static async logCreate(guid: string, token: string | undefined, body: object): Promise<void> {
const url = stdurl('/api/marti/missions/' + encodeURIComponent(guid) + '/log');

const log = await std(url, {
await std(url, {
method: 'POST',
body: body,
headers: Subscription.headers(token)
});

Loading