Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Clutch
Commits
9693c373
Commit
9693c373
authored
3 years ago
by
Scarlett Perry
Browse files
Options
Download
Email Patches
Plain Diff
pass filtered state to Dash
parent
a3d59f8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/workflows/projectSelector/src/project-selector.tsx
+6
-6
frontend/workflows/projectSelector/src/project-selector.tsx
with
6 additions
and
6 deletions
+6
-6
frontend/workflows/projectSelector/src/project-selector.tsx
+
6
-
6
View file @
9693c373
...
...
@@ -127,18 +127,18 @@ const ProjectSelector = () => {
// Determine selected projects.
const
selected
=
new
Set
<
string
>
();
_
.
forEach
(
Object
.
keys
(
s
tate
[
Group
.
PROJECTS
]),
p
=>
{
if
(
s
tate
[
Group
.
PROJECTS
][
p
].
checked
)
{
_
.
forEach
(
Object
.
keys
(
derivedS
tate
[
Group
.
PROJECTS
]),
p
=>
{
if
(
derivedS
tate
[
Group
.
PROJECTS
][
p
].
checked
)
{
selected
.
add
(
p
);
}
});
_
.
forEach
(
Object
.
keys
(
s
tate
[
Group
.
DOWNSTREAM
]),
p
=>
{
if
(
s
tate
[
Group
.
DOWNSTREAM
][
p
].
checked
)
{
_
.
forEach
(
Object
.
keys
(
derivedS
tate
[
Group
.
DOWNSTREAM
]),
p
=>
{
if
(
derivedS
tate
[
Group
.
DOWNSTREAM
][
p
].
checked
)
{
selected
.
add
(
p
);
}
});
_
.
forEach
(
Object
.
keys
(
s
tate
[
Group
.
UPSTREAM
]),
p
=>
{
if
(
s
tate
[
Group
.
UPSTREAM
][
p
].
checked
)
{
_
.
forEach
(
Object
.
keys
(
derivedS
tate
[
Group
.
UPSTREAM
]),
p
=>
{
if
(
derivedS
tate
[
Group
.
UPSTREAM
][
p
].
checked
)
{
selected
.
add
(
p
);
}
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment