chore: ts-expect-error description for webgui troubleshoot form

This commit is contained in:
Zack Spear
2024-05-16 09:06:42 -07:00
committed by Zack Spear
parent ba772add54
commit 5d801f22f5

View File

@@ -109,10 +109,10 @@ export const useErrorsStore = defineStore('errors', () => {
}
$panels.forEach(($panel: Element) => {
if ($panel.id === 'troubleshoot_panel') {
// @ts-expect-error - because the webgui is the wild wild west
// @ts-expect-error - the webgui feedback modal has different "panel" elements, so we'll automatically select the troubleshooting option for the user
$panel.style.display = 'block';
} else {
// @ts-expect-error - because the webgui is the wild wild west
// @ts-expect-error - the webgui feedback modal has different "panel" elements, so we'll automatically select the troubleshooting option for the user
$panel.style.display = 'none';
}
});