-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add image pull policy of app in advanced options - change project review page as per figma - removes vms from infra and make cluster tab flat
- Loading branch information
1 parent
94293fd
commit 0e0e036
Showing
7 changed files
with
31 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 1 addition & 21 deletions
22
src/apps/console/routes/_main+/$account+/infra+/_layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,8 @@ | ||
import { Outlet, useOutletContext } from '@remix-run/react'; | ||
import SidebarLayout from '~/console/components/sidebar-layout'; | ||
import { useSubNavData } from '~/root/lib/client/hooks/use-create-subnav-action'; | ||
import { useHandleFromMatches } from '~/root/lib/client/hooks/use-custom-matches'; | ||
|
||
const Infra = () => { | ||
const rootContext = useOutletContext(); | ||
const subNavAction = useSubNavData(); | ||
const noLayout = useHandleFromMatches('noLayout', null); | ||
|
||
if (noLayout) { | ||
return <Outlet context={rootContext} />; | ||
} | ||
return ( | ||
<SidebarLayout | ||
navItems={[ | ||
{ label: 'Clusters', value: 'clusters' }, | ||
{ label: 'VM instances', value: 'vms' }, | ||
]} | ||
parentPath="/infra" | ||
headerActions={subNavAction.data} | ||
> | ||
<Outlet context={rootContext} /> | ||
</SidebarLayout> | ||
); | ||
return <Outlet context={rootContext} />; | ||
}; | ||
|
||
export default Infra; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.