MCPcopy Index your code
hub / github.com/DTStack/molecule / updateStatusBar

Method updateStatusBar

src/services/problemsService.ts:161–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159 }
160
161 private updateStatusBar<T>(): void {
162 const { data = [] } = this.state;
163 const markersData = this.getProblemsMarkers(data);
164 const { builtInStatusProblems } = this.builtinService.getModules();
165
166 if (builtInStatusProblems) {
167 this.updateStatus(
168 Object.assign(builtInStatusProblems, {
169 data: markersData,
170 })
171 );
172 }
173 }
174
175 private updateStatus<T>(item: IStatusBarItem<T>): void {
176 this.statusBarService.update(item);

Callers 3

addMethod · 0.95
updateMethod · 0.95
removeMethod · 0.95

Calls 2

updateStatusMethod · 0.95
getModulesMethod · 0.65

Tested by

no test coverage detected