Browse Source

Quick fix: renamed "hiddenRefsById" to "excludeRefsById"

main
Eric Follana 2 years ago
parent
commit
d4746545ed
No known key found for this signature in database GPG Key ID: DE7652B6A2622754
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      src/plus/webviews/graph/protocol.ts
  2. +1
    -1
      src/webviews/apps/plus/graph/GraphWrapper.tsx

+ 2
- 2
src/plus/webviews/graph/protocol.ts View File

@ -1,5 +1,6 @@
import type {
CssVariables,
ExcludeRefsById,
GraphColumnSetting,
GraphContexts,
GraphRef,
@ -7,7 +8,6 @@ import type {
GraphRow,
GraphZoneType,
Head,
HiddenRefsById,
HostingServiceType,
PullRequestMetadata,
RefMetadata,
@ -118,7 +118,7 @@ export interface GraphColumnConfig {
export type GraphColumnsConfig = { [name: string]: GraphColumnConfig };
export type GraphHiddenRefs = HiddenRefsById;
export type GraphHiddenRefs = ExcludeRefsById; // TODO: rename all HiddenRefs to use the new naming
export type GraphHiddenRef = GraphRefOptData;
export type GraphColumnName = GraphZoneType;

+ 1
- 1
src/webviews/apps/plus/graph/GraphWrapper.tsx View File

@ -832,7 +832,7 @@ export function GraphWrapper({
// Just cast the { [id: string]: number } object to { [id: string]: boolean } for performance
highlightedShas={searchResults?.ids as GraphContainerProps['highlightedShas']}
highlightRowsOnRefHover={graphConfig?.highlightRowsOnRefHover}
hiddenRefsById={hiddenRefsById}
excludeRefsById={hiddenRefsById}
scrollRowPadding={graphConfig?.scrollRowPadding}
showGhostRefsOnRowHover={graphConfig?.showGhostRefsOnRowHover}
showRemoteNamesOnRefs={graphConfig?.showRemoteNamesOnRefs}

Loading…
Cancel
Save