diff --git a/src/components/UserArea.vue b/src/components/UserArea.vue index a73f5e6d..ffecfdd5 100644 --- a/src/components/UserArea.vue +++ b/src/components/UserArea.vue @@ -21,6 +21,9 @@ {{ $t('send_test_job') }} + {{ + $t('send_update_bitmap') + }} import { computed } from 'vue' import Icon from './base/Icon.vue' -import { jobs as jobsService } from '@/services' +import { jobs as jobsService, termsOfUse as termsOfUseService } from '@/services' const props = defineProps({ user: { @@ -66,6 +69,10 @@ const userRole = computed(() => { const test = () => { return jobsService.create({}) } +const send_update_bitmap = () => { + return termsOfUseService.patch(0, {}) +} + const userPicture = computed(() => { const style: { backgroundImage?: string @@ -96,7 +103,10 @@ const userPicture = computed(() => { "logout": "Logout", "join_slack_channel": "Join Slack Channel", "current_version": "Current version: {version}", - "send_test_job": "[staff only] Send test job" + "send_test_job": "[staff only] Send test job", + "send_update_bitmap": + "[staff only] Test update bitmap" + } } diff --git a/src/components/modules/lists/JobItem.vue b/src/components/modules/lists/JobItem.vue index dfe43825..168c7a6c 100644 --- a/src/components/modules/lists/JobItem.vue +++ b/src/components/modules/lists/JobItem.vue @@ -1,6 +1,6 @@