diff --git a/frontend/src/components/ExamineLogModal.vue b/frontend/src/components/ExamineLogModal.vue new file mode 100644 index 0000000..96609e6 --- /dev/null +++ b/frontend/src/components/ExamineLogModal.vue @@ -0,0 +1,83 @@ + + + \ No newline at end of file diff --git a/frontend/src/components/LogViewer.vue b/frontend/src/components/LogViewer.vue index dbbfdc2..4ee57dc 100644 --- a/frontend/src/components/LogViewer.vue +++ b/frontend/src/components/LogViewer.vue @@ -14,40 +14,7 @@ :supress-horisontal-scroll="true" :enable-scrolling="true" > - - - - - - - - Key - - - Value - - - - - - {{ item.key }} - - {{ item.value }} - - - - - - - Close Dialog - - - + @@ -56,27 +23,17 @@ import { AgGridVue } from "ag-grid-vue3"; import "ag-grid-community/styles//ag-grid.css"; import "ag-grid-community/styles//ag-theme-material.css"; import ScreenshotCell from "./ScreenshotCell.js"; -import { VCard, VCardText, VCardActions } from 'vuetify/components/VCard' -import { VDialog } from 'vuetify/components/VDialog' -import { VBtn } from 'vuetify/components/VBtn' -import { VTable } from 'vuetify/components/VTable' +import ExamineLogModal from "./ExamineLogModal.vue"; export default { components: { + ExamineLogModal, AgGridVue, - VCard, - VCardText, - VCardActions, - VBtn, - VDialog, - VTable, ScreenshotCell: ScreenshotCell }, data() { return { - examineLog: null, examineLogContent: null, - copied: false, gridApi: null, gridColumnApi: null, rowData: [], @@ -169,6 +126,9 @@ export default { }) }) this.examineLogContent = pairs + }, + closeExamineLog () { + this.examineLogContent = null } }, }