File tree 2 files changed +6
-1
lines changed
scopes/workspace/workspace 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,11 @@ export class Filter {
128
128
const compIds = ComponentIdList . fromArray ( ids ) ;
129
129
const componentsFromModel = await this . getModelComps ( ids ) ;
130
130
const compsDuringMerge = this . byDuringMergeState ( ) ;
131
+ const localOnly = this . workspace . listLocalOnly ( ) ;
131
132
const comps = componentsFromModel
132
133
. filter ( ( c ) => compIds . hasWithoutVersion ( c . toComponentId ( ) ) )
133
134
. filter ( ( c ) => ! compsDuringMerge . hasWithoutVersion ( c . toComponentId ( ) ) )
135
+ . filter ( ( c ) => ! localOnly . hasWithoutVersion ( c . toComponentId ( ) ) )
134
136
. filter ( ( c ) => c . isHeadSnap ( ) ) ;
135
137
return comps . map ( ( c ) => c . toComponentIdWithHead ( ) ) ;
136
138
}
Original file line number Diff line number Diff line change @@ -368,7 +368,10 @@ export class Workspace implements ComponentFactory {
368
368
const autoTagPending = await this . consumer . listComponentsForAutoTagging (
369
369
ComponentIdList . fromArray ( modifiedComponents )
370
370
) ;
371
- const comps = autoTagPending . filter ( ( autoTagComp ) => ! newComponents . has ( autoTagComp . componentId ) ) ;
371
+ const localOnly = this . listLocalOnly ( ) ;
372
+ const comps = autoTagPending
373
+ . filter ( ( autoTagComp ) => ! newComponents . has ( autoTagComp . componentId ) )
374
+ . filter ( ( autoTagComp ) => ! localOnly . has ( autoTagComp . componentId ) ) ;
372
375
return comps . map ( ( c ) => c . id ) ;
373
376
}
374
377
You can’t perform that action at this time.
0 commit comments