fix: missing type property for Reset context menu item in ResizableSidebar
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
a0247ebf2a
commit
42823c0e94
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue