Skip to content

Commit

Permalink
webapp: Use global AlertResponse interface
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Oct 19, 2024
1 parent 1e857b7 commit 8257eb7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions webapp/src/views/InverterAdminView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ import CardElement from '@/components/CardElement.vue';
import InputElement from '@/components/InputElement.vue';
import InputSerial from '@/components/InputSerial.vue';
import ModalDialog from '@/components/ModalDialog.vue';
import type { AlertResponse } from '@/types/Alert';
import type { Inverter } from '@/types/InverterConfig';
import { authHeader, handleResponse } from '@/utils/authentication';
import * as bootstrap from 'bootstrap';
Expand All @@ -363,13 +364,6 @@ import {
import Sortable from 'sortablejs';
import { defineComponent } from 'vue';
declare interface AlertResponse {
message: string;
type: string;
code: number;
show: boolean;
}
export default defineComponent({
components: {
BasePage,
Expand Down

0 comments on commit 8257eb7

Please sign in to comment.