aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/reportManager/ReportManager.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/reportManager/ReportManager.tsx')
-rw-r--r--src/client/util/reportManager/ReportManager.tsx17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/client/util/reportManager/ReportManager.tsx b/src/client/util/reportManager/ReportManager.tsx
index 7599b8949..e15d3fdae 100644
--- a/src/client/util/reportManager/ReportManager.tsx
+++ b/src/client/util/reportManager/ReportManager.tsx
@@ -165,22 +165,6 @@ export class ReportManager extends React.Component<{}> {
}
this.setSubmitting(true);
- const body = {
- email: 'aaa@gmail.com',
- password: '1234',
- };
-
- //s%3A7pO_IijgvVbSaI3m2Tn6un4oQPHQYTBe.CsIRpBpvzy1AXbyQNXDz%2FCpo4M9A47aw%2F%2BQbCp9lXmc
-
- const res = await fetch('http://10.38.71.246:1050/headlesslogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- body: JSON.stringify(body),
- });
-
- console.log(res);
const links = await this.uploadFilesToServer();
console.log(links);
if (!links) {
@@ -565,6 +549,7 @@ export class ReportManager extends React.Component<{}> {
<Button
text="Submit"
type={Type.TERT}
+ color={StrCast(Doc.UserDoc().userVariantColor)}
icon={<ReactLoading type="spin" color={'#ffffff'} width={20} height={20} />}
iconPlacement="right"
onClick={() => {