Skip to content

Commit

Permalink
refactor: remove unused variable declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Jan 10, 2025
1 parent e070562 commit 05de073
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/zowe-explorer/src/trees/job/JobTableView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,8 @@ export class JobTableView {
*/
private static async generateTable(context: ExtensionContext, profileNode: IZoweJobTreeNode): Promise<Table.Instance> {
if (this.table) {
const jobProperties = JobTableView.cachedChildren.map((item) => this.jobPropertiesFor(item));
await this.table.setTitle(this.buildTitle(profileNode));
await this.table.setContent(jobProperties);
await this.table.setContent(JobTableView.cachedChildren.map((item) => this.jobPropertiesFor(item)));
} else {
this.table = new TableBuilder(context)
.options({
Expand Down

0 comments on commit 05de073

Please sign in to comment.