Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
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
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
1442cded
Commit
1442cded
authored
3 months ago
by
David Smadja
Browse files
Options
Downloads
Patches
Plain Diff
Fix effect not triggered in certain cases
parent
af82e07d
No related branches found
No related tags found
1 merge request
!329
Permettre d'ouvrir / fermer tous les paramètres
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/legislation_view/parameters/VariableReferredParameters.svelte
+3
-1
3 additions, 1 deletion
...slation_view/parameters/VariableReferredParameters.svelte
with
3 additions
and
1 deletion
src/lib/components/legislation_view/parameters/VariableReferredParameters.svelte
+
3
−
1
View file @
1442cded
...
...
@@ -147,7 +147,7 @@
),
)
let
openOtherParameters
=
$state
(
true
)
let
openAllParameters
=
$state
(
true
)
let
openAllParameters
:
boolean
|
null
=
$state
(
true
)
let
loadingAllParameters
=
$state
(
false
)
</script>
...
...
@@ -246,6 +246,7 @@
class=
"flex cursor-pointer items-center bg-white text-xs uppercase tracking-wide text-neutral-400 hover:text-le-gris-dispositif-dark"
onclick=
{
async
()
=>
{
loadingAllParameters
=
true
openAllParameters
=
null
await
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
500
))
openAllParameters
=
true
loadingAllParameters
=
false
...
...
@@ -262,6 +263,7 @@
class=
"flex cursor-pointer items-center bg-white text-xs uppercase tracking-wide text-neutral-400 hover:text-le-gris-dispositif-dark"
onclick=
{
async
()
=>
{
loadingAllParameters
=
true
openAllParameters
=
null
await
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
500
))
openAllParameters
=
false
loadingAllParameters
=
false
...
...
...
...
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