Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWK Project Effort Estimation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oh14.dev
SWK Project Effort Estimation
Commits
9d15a08c
Commit
9d15a08c
authored
4 years ago
by
Jonas Zohren
Browse files
Options
Downloads
Patches
Plain Diff
Reduce default rows but add button to add row
parent
aff8cf85
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/App.svelte
+2
-1
2 additions, 1 deletion
src/App.svelte
with
2 additions
and
1 deletion
src/App.svelte
+
2
−
1
View file @
9d15a08c
...
@@ -6,7 +6,7 @@ import FormulaS from "./FormulaS.svelte";
...
@@ -6,7 +6,7 @@ import FormulaS from "./FormulaS.svelte";
import
RowWorkItem
from
"
./RowWorkItem.svelte
"
;
import
RowWorkItem
from
"
./RowWorkItem.svelte
"
;
import
SumRow
from
"
./SumRow.svelte
"
;
import
SumRow
from
"
./SumRow.svelte
"
;
const
NUMBER_OF_WORKPACKAGES
=
10
;
const
NUMBER_OF_WORKPACKAGES
=
8
;
let
workPackages
:
WorkPackage
[]
=
[]
let
workPackages
:
WorkPackage
[]
=
[]
export
let
r
:
number
=
4
;
export
let
r
:
number
=
4
;
...
@@ -50,6 +50,7 @@ import FormulaS from "./FormulaS.svelte";
...
@@ -50,6 +50,7 @@ import FormulaS from "./FormulaS.svelte";
<
SumRow
{
workPackages
}
u
=
{
u
}
r
=
{
r
}
><
/SumRow
>
<
SumRow
{
workPackages
}
u
=
{
u
}
r
=
{
r
}
><
/SumRow
>
<
/tbody
>
<
/tbody
>
<
/table
>
<
/table
>
<
button
on
:
click
=
{()
=>
{
workPackages
=
[...
workPackages
,
{
a
:
null
,
b
:
null
,
c
:
null
}];
}
}
>
Zeile hinzufügen
</button>
<FormulaE
workPackages=
{
workPackages
}
r=
{
r
}
/>
<FormulaE
workPackages=
{
workPackages
}
r=
{
r
}
/>
<br>
<br>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment