bbovenzi commented on code in PR #47879:
URL: https://github.com/apache/airflow/pull/47879#discussion_r2001411789
##########
airflow/ui/src/layouts/Nav/UserSettingsButton.tsx:
##########
@@ -58,6 +61,22 @@ export const UserSettingsButton = () => {
</>
)}
</Menu.Item>
+ <Menu.Item
+ onClick={() => (dagView === "grid" ? setDagView("graph") :
setDagView("grid"))}
+ value={dagView}
+ >
+ {dagView === "grid" ? (
+ <>
+ <MdOutlineAccountTree />
+ Default to graph view
+ </>
+ ) : (
+ <>
+ <FiGrid />
Review Comment:
We might also need the margin-right like the other menu items have too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]