Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 386f3e6

Browse files
committed
Updated placeholder name for projects and jobs.
1 parent 8c6f020 commit 386f3e6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/routes/InputSkills/components/Completeness/styles.module.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
color: rgba(255, 255, 255, 0.6);
4242
&:before {
4343
content: "";
44+
font-size: 9px;
45+
line-height: 14px;
46+
padding-left: 2px;
4447
}
4548
}
4649
}

src/routes/InputSkills/components/SkillsList/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
max-width: 746px;
66
margin-right: 30px;
77
height: 80vh;
8-
overflow: scroll;
8+
overflow-y: scroll;
99
position: relative;
1010

1111
> header {

src/routes/InputSkills/index.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ import { navigate } from "@reach/router";
1212

1313
function InputSkills({ projectId }) {
1414
const [selectedSkills, setSelectedSkills] = useState([]);
15-
const [searchState, setSearchState] = useState("done");
15+
const [searchState, setSearchState] = useState(null);
1616
const [skills, loadingError] = useData(getSkills);
1717

1818
let searchTimer;
1919

2020
const submitJob = () => {
2121
createJob({
2222
projectId,
23-
title: "placeholder",
23+
title: `job-${Date()}`,
2424
skills: selectedSkills,
25+
numPositions: 1,
2526
}).then(() => {
2627
navigate("/taas/myteams/createnewteam");
2728
});

src/services/teams.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export const postProject = () => {
180180
const url = `${config.API.V5}/projects/`;
181181

182182
const bodyObj = {
183-
name: "Placeholder",
183+
name: `project-${Date()}`,
184184
type: "talent-as-a-service",
185185
};
186186

0 commit comments

Comments
 (0)