Fixed tooltip's JSON import
This commit is contained in:
		| @@ -40,14 +40,14 @@ function deleteHeader(index : string){ | ||||
|  | ||||
| function addNewHeader(name : string, value : string){ | ||||
|     if (headerData.value == undefined) | ||||
|         return | ||||
|         return; | ||||
|  | ||||
|     if (isNewHeaderEmpty()) return; | ||||
|  | ||||
|     headerData!.value[name] = value; | ||||
|     headerData.value[name] = value; | ||||
|     newHeaderName.value = ""; | ||||
|     newHeaderValue.value = ""; | ||||
|     emit('update:httpHeaders',headerData.value) | ||||
|     emit('update:httpHeaders',headerData.value); | ||||
| } | ||||
|  | ||||
| </script> | ||||
|   | ||||
| @@ -1,11 +1,10 @@ | ||||
| <script setup lang="ts"> | ||||
| import { ref } from 'vue'; | ||||
| import tooltipCategoryComponent from '@components/xml/tooltips/TooltipCategoryComponent.vue' | ||||
| import tooltipEntryComponent from '@components/xml/tooltips/TooltipEntryComponent.vue' | ||||
| import tooltipCategoryComponent from '@components/xml/tooltips/TooltipCategoryComponent.vue'; | ||||
| import tooltipEntryComponent from '@components/xml/tooltips/TooltipEntryComponent.vue'; | ||||
|  | ||||
| import xpath1 from '@assets/tooltips/xpath/xpath1.json' | ||||
| import xpath2 from '@assets/tooltips/xpath/xpath2.json' | ||||
| import { watch } from 'vue'; | ||||
| import xpath1 from '@/assets/tooltips/xpath/xpath1.json'; | ||||
| import xpath2 from '@/assets/tooltips/xpath/xpath2.json'; | ||||
|  | ||||
| const props = defineProps({ | ||||
|     version: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user