Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
7967af9e
Unverified
Commit
7967af9e
authored
8 months ago
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Fix nom des fonctions
parent
73e83ff1
Branches
fix-ui-suppression-tranches-baremes
No related tags found
1 merge request
!286
Bouton suppression de tranche de barème seulement pour les nouvelles tranches
Pipeline
#18777
passed
8 months ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/variables/VariableReferredScaleAtInstant.svelte
+4
-4
4 additions, 4 deletions
...omponents/variables/VariableReferredScaleAtInstant.svelte
with
4 additions
and
4 deletions
src/lib/components/variables/VariableReferredScaleAtInstant.svelte
+
4
−
4
View file @
7967af9e
...
...
@@ -160,7 +160,7 @@
}
}
function
d
eleteOld
Bracket
(
index
:
number
)
{
function
d
isable
Bracket
(
index
:
number
)
{
// Crée une copie de scaleAtInstant pour éviter toute mutation directe
scaleAtInstant
=
[...(
scaleAtInstant
as
ScaleAtInstant
)]
...
...
@@ -186,7 +186,7 @@
}
}
function
delete
New
Bracket
(
index
:
number
)
{
function
deleteBracket
(
index
:
number
)
{
scaleAtInstant
=
[...(
scaleAtInstant
as
ScaleAtInstant
)]
scaleAtInstant
.
splice
(
index
,
1
)
dispatch
(
"
change
"
,
scaleAtInstant
)
...
...
@@ -269,7 +269,7 @@
<button
aria-label=
"Supprimer la nouvelle tranche"
class=
"group mb-1 rounded p-1 hover:bg-gray-200 active:bg-gray-300"
onclick=
{
()
=>
delete
New
Bracket
(
index
)
}
onclick=
{
()
=>
deleteBracket
(
index
)
}
title=
"Supprimer"
type=
"button"
>
...
...
@@ -282,7 +282,7 @@
<button
aria-label=
"Supprimer la tranche"
class=
"group mb-1 rounded p-1 hover:bg-gray-200 active:bg-gray-300"
onclick=
{
()
=>
d
eleteOld
Bracket
(
index
)
}
onclick=
{
()
=>
d
isable
Bracket
(
index
)
}
title=
"Supprimer"
type=
"button"
>
...
...
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