Skip to content

Commit a08e64c

Browse files
chore(Dashboard2/Navigation): add confirm button to path editor [YTFRONT-5216]
1 parent 4942564 commit a08e64c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/ui/src/ui/pages/dashboard2/Dashboard/Widgets/Navigation/NavigationWidgetContent/NavigationWidgetContent.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
&__list {
1818
height: 100%;
1919
width: 100%;
20+
overflow-y: auto;
2021
}
2122
}
2223

packages/ui/src/ui/pages/dashboard2/Dashboard/Widgets/Navigation/NavigationWidgetContent/NavigationWidgetContent.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,13 @@ function DashboardPathEditor() {
4242
event.target?.select();
4343
}, []);
4444

45-
return <PathEditor autoFocus defaultPath={''} onApply={handleApply} onFocus={handleFocus} />;
45+
return (
46+
<PathEditor
47+
hasConfirmButton
48+
autoFocus
49+
defaultPath={''}
50+
onApply={handleApply}
51+
onFocus={handleFocus}
52+
/>
53+
);
4654
}

0 commit comments

Comments
 (0)