Show confim popup when delete objects

This commit is contained in:
2022-03-24 17:23:01 +08:00
parent 1f4c6feafa
commit 50f1cb0562
14 changed files with 129 additions and 32 deletions
@@ -15,6 +15,10 @@ div.toggles-input {
cursor: pointer;
user-select: none;
}
div.checkbox.red:hover {
color: $lt-red !important;
}
}
div.dark.text-field-root {
@@ -8,6 +8,7 @@ interface ITogglesInputProps extends ITextFieldProps {
onIconName?: string;
offIconName?: string;
valueChange?: (value: boolean) => any;
red?: boolean;
}
class TogglesInput extends Component<ITogglesInputProps> {
@@ -20,7 +21,7 @@ class TogglesInput extends Component<ITogglesInputProps> {
customStyle
>
<div
className="checkbox"
className={"checkbox" + (this.props.red ? " red" : "")}
style={{
cursor: this.props.disableI18n ? "not-allowed" : "pointer"
}}