File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
lark-ui/src/routes/app/projects/[id] Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 7474{#if projectPageState .user && projectPageState .user .hackatimeAccount }
7575 {#if projectPageState .project ?.submissions && projectPageState .project .submissions .length > 0 }
7676 <div class =" submit-section" >
77- <Button
78- label =" Submiited"
79- disabled
80- />
77+ <Button label ="Resubmit" onclick ={() => goto (` /app/projects/${projectPageState .project ?.projectId }/submit ` )}/>
8178 </div >
8279 {:else if projectPageState .project ?.nowHackatimeProjects && projectPageState .project .nowHackatimeProjects .length > 0 }
8380 <div class =" submit-section" >
Original file line number Diff line number Diff line change 1414 let project = projectPageState .project ! ;
1515 let user = projectPageState .user ! ;
1616
17- if (project .submissions .length > 0 ) {
18- onMount (() => goto (` /app/projects/${projectId } ` ));
19- // incomplete functionality :pf:
20- }
17+ // if (project.submissions.length > 0) {
18+ // onMount(() => goto(`/app/projects/${projectId}`));
19+ // //incomplete functionality :pf:
20+ // }
2121
2222 let formpage = $state (1 );
2323
You can’t perform that action at this time.
0 commit comments