Merge pull request #3008 from github/robertbrignull/modeled_row_styling
Fix styling of "already modeled" rows when showing multiple methods
This commit is contained in:
@@ -327,6 +327,7 @@ const UnmodelableMethodRow = forwardRef<
|
||||
<DataGridCell>
|
||||
<ApiOrMethodRow>
|
||||
<ModelingStatusIndicator status="saved" />
|
||||
<MethodClassifications method={method} />
|
||||
<MethodName {...props.method} />
|
||||
{viewState.mode === Mode.Application && (
|
||||
<UsagesButton onClick={jumpToMethod}>
|
||||
@@ -334,10 +335,11 @@ const UnmodelableMethodRow = forwardRef<
|
||||
</UsagesButton>
|
||||
)}
|
||||
<ViewLink onClick={jumpToMethod}>View</ViewLink>
|
||||
<MethodClassifications method={method} />
|
||||
</ApiOrMethodRow>
|
||||
</DataGridCell>
|
||||
<DataGridCell gridColumn="span 4">Method already modeled</DataGridCell>
|
||||
<DataGridCell gridColumn={`span ${viewState.showMultipleModels ? 5 : 4}`}>
|
||||
Method already modeled
|
||||
</DataGridCell>
|
||||
</DataGridRow>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user