diff --git a/love/src/components/GeneralPurpose/FileUploader/FileUploader.jsx b/love/src/components/GeneralPurpose/FileUploader/FileUploader.jsx
index 92119a31a..3fcaaa7f6 100644
--- a/love/src/components/GeneralPurpose/FileUploader/FileUploader.jsx
+++ b/love/src/components/GeneralPurpose/FileUploader/FileUploader.jsx
@@ -6,6 +6,7 @@ const FileUploader = ({ value = '', handleFile = () => {}, handleDelete = () =>
const hiddenFileInput = React.useRef(null);
const handleClick = () => {
+ hiddenFileInput.current.value = null;
hiddenFileInput.current.click();
};
const handleChange = (event) => {
diff --git a/love/src/components/GeneralPurpose/MultiSelect/MultiSelect.module.css b/love/src/components/GeneralPurpose/MultiSelect/MultiSelect.module.css
index 11dd51833..9aa0f699f 100644
--- a/love/src/components/GeneralPurpose/MultiSelect/MultiSelect.module.css
+++ b/love/src/components/GeneralPurpose/MultiSelect/MultiSelect.module.css
@@ -3,5 +3,5 @@
}
.dropDownClassName {
- height: 2.4em;
+ min-height: 2.4em;
}
\ No newline at end of file
diff --git a/love/src/components/OLE/Exposure/Exposure.module.css b/love/src/components/OLE/Exposure/Exposure.module.css
index 3635d7f05..f21265a84 100644
--- a/love/src/components/OLE/Exposure/Exposure.module.css
+++ b/love/src/components/OLE/Exposure/Exposure.module.css
@@ -430,4 +430,8 @@ th.tableHead {
height: var(--font-size-small);
width: var(--font-size-small);
margin-left: var(--small-padding);
+}
+
+.refreshDataBtn {
+ height: 2.4em;
}
\ No newline at end of file
diff --git a/love/src/components/OLE/Exposure/ExposureAdd.jsx b/love/src/components/OLE/Exposure/ExposureAdd.jsx
index 979e8a29f..f8d7c5693 100644
--- a/love/src/components/OLE/Exposure/ExposureAdd.jsx
+++ b/love/src/components/OLE/Exposure/ExposureAdd.jsx
@@ -17,6 +17,7 @@ import Modal from 'components/GeneralPurpose/Modal/Modal';
import FlagIcon from 'components/icons/FlagIcon/FlagIcon';
import { exposureFlagStateToStyle } from 'Config';
import styles from './Exposure.module.css';
+import { style } from 'd3';
export default class ExposureAdd extends Component {
static propTypes = {
@@ -108,6 +109,9 @@ export default class ExposureAdd extends Component {
componentDidUpdate(prevProps, prevState) {
// TODO: only when the filter is shown
if (prevState.selectedInstrument !== this.state.selectedInstrument) {
+ this.setState((prevState) => ({
+ newMessage: { ...prevState, obs_id: [] },
+ }));
this.queryExposures();
}
}
@@ -272,6 +276,7 @@ export default class ExposureAdd extends Component {