Skip to content

Commit ea2c43b

Browse files
fixed
1 parent db517b5 commit ea2c43b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/ui/layouts/stacks/StackDetail/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { useHistory, useLocationPath, useSelector } from '../../../hooks';
1414
import FilterComponent, {
1515
getInitialFilterStateForRuns,
1616
} from '../../../components/Filters';
17-
import { Box, FlexBox, PrimaryButton } from '../../../components';
17+
import { Box } from '../../../components';
1818
import {
1919
// stackPagesSelectors,
2020
workspaceSelectors,
@@ -32,8 +32,8 @@ import { GetHeaderCols } from './getHeaderCols';
3232

3333
const FilterWrapperForRun = () => {
3434
const locationPath = useLocationPath();
35-
const selectedWorkspace = useSelector(workspaceSelectors.selectedWorkspace);
36-
const history = useHistory();
35+
// const selectedWorkspace = useSelector(workspaceSelectors.selectedWorkspace);
36+
// const history = useHistory();
3737
// TODO: Dev please note: getInitialFilterState is for stack inital filter value for any other component you need to modify it
3838
const [filters, setFilter] = useState([getInitialFilterStateForRuns()]);
3939
function getFilter(values: any) {
@@ -58,7 +58,7 @@ const FilterWrapperForRun = () => {
5858
stackId={locationPath.split('/')[4]}
5959
/>
6060
</FilterComponent>
61-
<FlexBox
61+
{/* <FlexBox
6262
style={{
6363
position: 'fixed',
6464
right: '0',
@@ -75,7 +75,7 @@ const FilterWrapperForRun = () => {
7575
Register New Stack
7676
</PrimaryButton>
7777
</Box>
78-
</FlexBox>
78+
</FlexBox> */}
7979
</Box>
8080
);
8181
};

src/ui/layouts/stacks/UpdateStack/UpdateConfig/ListForAll/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ export const ListForAll: React.FC<{
321321

322322
<Box className={styles.stackFooter}>
323323
<PrimaryButton
324+
disabled={!flavourList.length}
324325
className={styles.stackFooterButton}
325326
onClick={() => onUpdateStack()}
326327
>

src/ui/layouts/stacks/UpdateStack/UpdateConfig/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const UpdateConfig: React.FC<{
6464
// },
6565
]
6666
}
67-
title="Register a stack"
67+
title="Update the stack"
6868
headerWithButtons
6969
renderHeaderRight={() => <></>}
7070
/>

0 commit comments

Comments
 (0)