[WIP] Фикс конфига статусов
This commit is contained in:
@@ -43,8 +43,7 @@
|
||||
<script>
|
||||
import * as moment from "moment/moment";
|
||||
import {
|
||||
recordingStatuses,
|
||||
medicalСardStatuses,
|
||||
statuses,
|
||||
networks,
|
||||
} from "@/pages/newCalendar/utils/calendarConfig.js";
|
||||
import { trimName } from "@/pages/newCalendar/utils/calendarFunctions.js";
|
||||
@@ -80,12 +79,12 @@ export default {
|
||||
return !this.bodyClass?.["flex-col"] && !this.expandedType;
|
||||
},
|
||||
recordingStatus() {
|
||||
return recordingStatuses.find(
|
||||
return statuses[0].data.find(
|
||||
(elem) => elem.value === this.record?.status
|
||||
);
|
||||
},
|
||||
medicalСardStatus() {
|
||||
return medicalСardStatuses.find(
|
||||
return statuses[1].data.find(
|
||||
(elem) => elem.value === this.record?.medicalCard?.status
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user