File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -172,21 +172,18 @@ export class Picker<T extends Detail> implements AsyncDisposable {
172
172
const { sorterIndex, sorterCount } = this . #sortProcessor;
173
173
const { rendererIndex, rendererCount } = this . #renderProcessor;
174
174
const { previewerIndex, previewerCount } = this . #previewProcessor ?? { } ;
175
- const matcherIndicator = matcherCount > 1
175
+ const mi = matcherCount > 1
176
176
? `${ this . #matcherIcon} ${ matcherIndex + 1 } `
177
177
: "" ;
178
- const sorterIndicator = sorterCount > 1
179
- ? `${ this . #sorterIcon} ${ sorterIndex + 1 } `
180
- : "" ;
181
- const rendererIndicator = rendererCount > 1
178
+ const si = sorterCount > 1 ? `${ this . #sorterIcon} ${ sorterIndex + 1 } ` : "" ;
179
+ const ri = rendererCount > 1
182
180
? `${ this . #rendererIcon} ${ rendererIndex + 1 } `
183
181
: "" ;
184
- const previewerIndicator =
185
- previewerIndex !== undefined && previewerCount !== undefined &&
182
+ const pi = previewerIndex !== undefined && previewerCount !== undefined &&
186
183
previewerCount > 1
187
- ? `${ this . #previewerIcon} ${ previewerIndex + 1 } `
188
- : "" ;
189
- return `${ matcherIndicator } ${ sorterIndicator } ${ rendererIndicator } ${ previewerIndicator } ` ;
184
+ ? `${ this . #previewerIcon} ${ previewerIndex + 1 } `
185
+ : "" ;
186
+ return `${ mi } ${ si } ${ ri } ${ pi } ` . trim ( ) ;
190
187
}
191
188
192
189
async open (
You can’t perform that action at this time.
0 commit comments