merging linting error fixes

This commit is contained in:
MalteSchm 2023-04-12 16:14:33 +02:00
commit 74dcddaa1a

View File

@ -189,7 +189,6 @@ import BootstrapAlert from "@/components/BootstrapAlert.vue";
import CardElement from '@/components/CardElement.vue'; import CardElement from '@/components/CardElement.vue';
import InputElement from '@/components/InputElement.vue'; import InputElement from '@/components/InputElement.vue';
import { handleResponse, authHeader } from '@/utils/authentication'; import { handleResponse, authHeader } from '@/utils/authentication';
// import { BIconInfoCircle } from 'bootstrap-icons-vue';
import type { PowerMeterHttpPhaseConfig, PowerMeterConfig } from "@/types/PowerMeterConfig"; import type { PowerMeterHttpPhaseConfig, PowerMeterConfig } from "@/types/PowerMeterConfig";
export default defineComponent({ export default defineComponent({
@ -197,8 +196,7 @@ export default defineComponent({
BasePage, BasePage,
BootstrapAlert, BootstrapAlert,
CardElement, CardElement,
InputElement, InputElement
// BIconInfoCircle,
}, },
data() { data() {
return { return {
@ -229,15 +227,6 @@ export default defineComponent({
this.powerMeterConfigList = data; this.powerMeterConfigList = data;
this.dataLoading = false; this.dataLoading = false;
// type MyType = {
// id: number;
// name: string;
// }
// type MyGroupType = {
// [key:string]: MyType;
// }
for (var i = 0; i < this.powerMeterConfigList.http_phases.length; i++) { for (var i = 0; i < this.powerMeterConfigList.http_phases.length; i++) {
this.testHttpRequestAlert.push({ this.testHttpRequestAlert.push({
message: "", message: "",