Skip to content

Commit

Permalink
Remove ts to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed Jul 3, 2024
1 parent 7e853f4 commit 6cd70fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions web/src/components/action/ActionCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</v-dialog>
</template>

<script setup lang="ts">
<script setup>
import { ref, computed } from "vue";
import { storeToRefs } from "pinia";
import { DateTime } from "luxon";
Expand All @@ -66,8 +66,8 @@ const { user } = storeToRefs(userStore);
const reportStore = useReportStore();
const { saveAction } = reportStore;
const action = ref({} as { description?: string; due_date?: Date; notes?: string; action_user_id?: any });
const dp = ref(null as any);
const action = ref({});
const dp = ref(null);
const canSave = computed(() => {
if (action.value.due_date && action.value.description) return true;
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/action/ActionEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</v-dialog>
</template>

<script setup lang="ts">
<script setup>
import { ref, computed, defineProps } from "vue";
import { storeToRefs } from "pinia";
import { DateTime } from "luxon";
Expand All @@ -76,7 +76,7 @@ const { user } = storeToRefs(userStore);
const reportStore = useReportStore();
const { saveAction, deleteAction, completeAction, revertAction } = reportStore;
const dp = ref(null as any);
const dp = ref(null);
const canSave = computed(() => {
if (props.action.due_date && props.action.description) return true;
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/action/ActionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
</template>

<script setup lang="ts">
<script setup>
import { DateTime } from "luxon";
import { storeToRefs } from "pinia";
import { useReportStore } from "@/store/ReportStore";
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/incident/OperationMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</v-menu>
</template>

<script setup lang="ts">
<script setup>
import { computed } from "vue";
import { storeToRefs } from "pinia";
import { useReportStore } from "@/store/ReportStore";
Expand Down

0 comments on commit 6cd70fa

Please sign in to comment.