Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
andreybavt committed Jul 25, 2023
2 parents 7954274 + 52c3042 commit 1196888
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions frontend/src/views/main/project/PredictionResults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,20 @@
</template>

<script setup lang="ts">
import VChart from "vue-echarts";
import { ref, onMounted, watch, getCurrentInstance, computed } from "vue";
import ResultPopover from "@/components/ResultPopover.vue"
import LoadingFullscreen from "@/components/LoadingFullscreen.vue";
import { api } from "@/api";
import { use } from "echarts/core";
import { BarChart } from "echarts/charts";
import { CanvasRenderer } from "echarts/renderers";
import { GridComponent } from "echarts/components";
import { ModelDTO, ModelType } from "@/generated-sources";
import { isClassification } from "@/ml-utils";
import { abbreviateMiddle, maxLengthDisplayedCategory } from "@/results-utils";
import * as _ from "lodash";
import { CanceledError } from "axios";
import VChart from 'vue-echarts';
import { computed, getCurrentInstance, onMounted, ref, watch } from 'vue';
import ResultPopover from '@/components/ResultPopover.vue';
import LoadingFullscreen from '@/components/LoadingFullscreen.vue';
import { api } from '@/api';
import { use } from 'echarts/core';
import { BarChart } from 'echarts/charts';
import { CanvasRenderer } from 'echarts/renderers';
import { GridComponent } from 'echarts/components';
import { ModelDTO, ModelType } from '@/generated-sources';
import { isClassification } from '@/ml-utils';
import { abbreviateMiddle, maxLengthDisplayedCategory } from '@/results-utils';
import * as _ from 'lodash';
import { CanceledError } from 'axios';
use([CanvasRenderer, BarChart, GridComponent]);
Expand Down Expand Up @@ -265,7 +265,7 @@ const emit = defineEmits(["result"]);
watch(() => props.inputData, async () => {
await debouncedSubmitPrediction();
})
}, { deep: true })
onMounted(async () => {
const clientWidth = instance?.proxy.$parent?.$el.querySelector('#resultCard')?.clientWidth;
Expand Down

0 comments on commit 1196888

Please sign in to comment.