Skip to content

Commit d4004dd

Browse files
committed
Fix status text inconsistency in ApplicationListPage filter
1 parent 075978f commit d4004dd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

client/src/views/ApplicationListPage.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
<script setup lang="ts">
130130
import { useApplicationListStore } from "@/stores/applicationList";
131131
import { useUserListStore } from "@/stores/userList";
132+
import { getStateLabel } from "@/use/stateColor";
132133
import { storeToRefs } from "pinia";
133134
import { onMounted, reactive, ref } from "vue";
134135
import { useDisplay } from "vuetify";
@@ -159,11 +160,11 @@ const type_items = [
159160
];
160161
161162
const state_items = [
162-
{ state: "submitted", jpn: "提出済み" },
163-
{ state: "rejected", jpn: "却下" },
164-
{ state: "fix_required", jpn: "要修正" },
165-
{ state: "accepted", jpn: "払い戻し待ち" },
166-
{ state: "fully_repaid", jpn: "払い戻し完了" }
163+
{ state: "submitted", jpn: getStateLabel("submitted") },
164+
{ state: "rejected", jpn: getStateLabel("rejected") },
165+
{ state: "fix_required", jpn: getStateLabel("fix_required") },
166+
{ state: "accepted", jpn: getStateLabel("accepted") },
167+
{ state: "fully_repaid", jpn: getStateLabel("fully_repaid") }
167168
];
168169
169170
const header = {

0 commit comments

Comments
 (0)