Skip to content

Commit

Permalink
fix: remove radio buttons for view all launch plan versions; #none
Browse files Browse the repository at this point in the history
Signed-off-by: James <[email protected]>
  • Loading branch information
james-union committed Jun 27, 2022
1 parent 7c9237b commit 554bf82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { isLoadingState } from 'components/hooks/fetchMachine';
import { useEntityVersions } from 'components/hooks/Entity/useEntityVersions';
import { interactiveTextColor } from 'components/Theme/constants';
import { SortDirection } from 'models/AdminEntity/types';
import { Identifier, ResourceIdentifier } from 'models/Common/types';
import { Identifier, ResourceIdentifier, ResourceType } from 'models/Common/types';
import { executionSortFields } from 'models/Execution/constants';
import { executionFilterGenerator, versionDetailsUrlGenerator } from './generators';
import { WorkflowVersionsTablePageSize, entityStrings } from './constants';
Expand Down Expand Up @@ -115,7 +115,7 @@ export const EntityVersions: React.FC<EntityVersionsProps> = ({ id, showAll = fa
<EntityVersionsTable
{...versions}
isFetching={isLoadingState(versions.state)}
versionView={showAll}
versionView={showAll && resourceType !== ResourceType.LAUNCH_PLAN}
resourceType={resourceType}
/>
) : (
Expand Down

0 comments on commit 554bf82

Please sign in to comment.