mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-13 21:01:27 +08:00
bug 🐛 : on click tag filter is now fixed (#916)
This commit is contained in:
parent
995232e057
commit
e7ba5f9f33
@ -1,7 +1,6 @@
|
||||
import { CaretRightFilled, PlusOutlined } from '@ant-design/icons';
|
||||
import { Button, Space, Typography } from 'antd';
|
||||
import { isEqual } from 'lodash-es';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import React, { useState } from 'react';
|
||||
import { connect, useSelector } from 'react-redux';
|
||||
import { bindActionCreators } from 'redux';
|
||||
import { ThunkDispatch } from 'redux-thunk';
|
||||
@ -48,12 +47,6 @@ function AllTags({
|
||||
]);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (!isEqual(traces.selectedTags, localSelectedTags)) {
|
||||
setLocalSelectedTags(traces.selectedTags);
|
||||
}
|
||||
}, [traces.selectedTags, localSelectedTags]);
|
||||
|
||||
const onCloseHandler = (index: number): void => {
|
||||
setLocalSelectedTags([
|
||||
...localSelectedTags.slice(0, index),
|
||||
|
Loading…
x
Reference in New Issue
Block a user