Skip to content

Commit

Permalink
fix: 修复 cls 数据源在 mixed 模式下无法展示数据 (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackroad authored Nov 7, 2023
1 parent ffeca68 commit 5006d22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/datasource/log-service/LogServiceDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export class LogServiceDataSource extends DataSourceApi<QueryInfo, MyDataSourceO
processedFrames.push(frame);
}
subscriber.next({ data: processedFrames, state: LoadingState.Done });
subscriber.complete();
})
.catch((e) => {
subscriber.next({
Expand All @@ -119,6 +120,7 @@ export class LogServiceDataSource extends DataSourceApi<QueryInfo, MyDataSourceO
message: e?.message || e?.data?.message,
},
});
subscriber.complete();
});
}).pipe(share());
return output$;
Expand Down

0 comments on commit 5006d22

Please sign in to comment.