fix: missing type property for Reset context menu item in ResizableSidebar
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
SauceyRed 2025-08-07 06:21:52 +02:00
parent a0247ebf2a
commit 42823c0e94
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7

View file

@ -34,7 +34,7 @@ const storedWidth = ref<string>();
const contextMenu = useState<ContextMenuInterface>("contextMenu"); const contextMenu = useState<ContextMenuInterface>("contextMenu");
const menuItems: ContextMenuItem[] = [ const menuItems: ContextMenuItem[] = [
{ name: "Reset", callback: () => { { name: "Reset", type: "normal", callback: () => {
const defaultWidth = props.width ?? props.minWidth; const defaultWidth = props.width ?? props.minWidth;
resizableSidebar.value!.style.width = defaultWidth; resizableSidebar.value!.style.width = defaultWidth;
if (props.localStorageName) { if (props.localStorageName) {