+
onEdit(item, e)} title="Rename" />
-
+
onDelete(item, e)} title="Delete" />
diff --git a/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css b/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css
index 4049bbe32..608bb452f 100644
--- a/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css
+++ b/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css
@@ -1,19 +1,3 @@
-.secondary {
- color: rgba(0, 0, 0, 0.6);
-}
-
-.rowItem {
- border-bottom: 1px solid rgba(0, 0, 0, 0.12);
-
- &:hover {
- background-color: rgba(63, 81, 181, 0.08);
-
- & .iconCircle {
- opacity: 1;
- }
- }
-}
-
.iconContainer {
background-color: #f3f3f3;
border-radius: 100px;
@@ -23,18 +7,8 @@
.iconCircle {
border-radius: 50%;
padding: 6px;
- opacity: 0;
&:hover {
background: rgba(63, 81, 181, 0.08);
}
}
-
-.inputContainer {
- padding: 0 2em;
- width: 100%;
-}
-
-.inputComponent {
- width: 100%;
-}
diff --git a/frontend/app/components/ui/ItemMenu/ItemMenu.js b/frontend/app/components/ui/ItemMenu/ItemMenu.js
index 422344377..b4b7170f7 100644
--- a/frontend/app/components/ui/ItemMenu/ItemMenu.js
+++ b/frontend/app/components/ui/ItemMenu/ItemMenu.js
@@ -20,7 +20,7 @@ export default class ItemMenu extends React.PureComponent {
closeMenu = () => this.setState({ displayed: false })
render() {
- const { items, label = "" } = this.props;
+ const { items, label = "", bold } = this.props;
const { displayed } = this.state;
const parentStyles = label ? 'rounded px-2 py-1 hover:bg-gray-light' : '';
@@ -33,7 +33,7 @@ export default class ItemMenu extends React.PureComponent {
onClick={ this.toggleMenu }
className={cn("flex items-center cursor-pointer select-none", parentStyles, { 'bg-gray-light' : displayed && label })}
>
- {label &&
{label}}
+ {label &&
{label}}
{ this.menuBtnRef = ref; } }
className={cn("rounded-full flex items-center justify-center", { 'bg-gray-light' : displayed, "w-10 h-10" : !label })}
@@ -53,6 +53,7 @@ export default class ItemMenu extends React.PureComponent {
onClick={ !disabled ? this.onClick(onClick) : () => {} }
role="menuitem"
tabIndex="-1"
+ className=""
>
m.parentID === 1).map(m => m.id);
this.pagesManager.sort((m1, m2) => {
if (m1.time === m2.time) {
if (m1.tp === "remove_node" && m2.tp !== "remove_node") {
if (headChildrenIds.includes(m1.id)) {
return -1;
- }
+ }
} else if (m2.tp === "remove_node" && m1.tp !== "remove_node") {
if (headChildrenIds.includes(m2.id)) {
return 1;
@@ -175,7 +175,7 @@ export default class MessageDistributor extends StatedScreen {
const stateToUpdate: {[key:string]: any} = {
performanceChartData: this.performanceTrackManager.chartData,
performanceAvaliability: this.performanceTrackManager.avaliability,
- }
+ }
LIST_NAMES.forEach(key => {
stateToUpdate[ `${ key }List` ] = this.lists[ key ].list
})
@@ -187,7 +187,7 @@ export default class MessageDistributor extends StatedScreen {
this.windowNodeCounter.reset()
if (this.activirtManager) {
this.activirtManager.end()
- update({
+ update({
skipIntervals: this.activirtManager.list
})
}
@@ -444,4 +444,4 @@ export default class MessageDistributor extends StatedScreen {
update(INITIAL_STATE);
this.assistManager.clear();
}
-}
\ No newline at end of file
+}
diff --git a/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts b/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts
index 727ae82ea..81638994e 100644
--- a/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts
+++ b/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts
@@ -29,9 +29,9 @@
// this.state = JSON.parse(JSON.stringify(action.state)); // Deep clone :(
// } else {
// action.diff.forEach(d => {
-// try {
+// try {
// applyChange(this.state, d);
-// } catch (e) {
+// } catch (e) {
// //console.warn("Deepdiff error")
// }
// });
@@ -41,7 +41,7 @@
// this.state = this.finalStates.pop();
// } else {
// action.diff.forEach(d => {
-// try {
+// try {
// revertChange(this.state, 1, d); // bad lib :( TODO: write our own diff
// } catch (e) {
// //console.warn("Deepdiff error")
@@ -50,4 +50,4 @@
// }
// }
// }
-// }
\ No newline at end of file
+// }