Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mycard Mobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mycard Mobile
Commits
c8afe707
Commit
c8afe707
authored
Aug 25, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1dc716ed
Pipeline
#4958
passed with stages
in 6 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/app/ygopro.service.ts
src/app/ygopro.service.ts
+3
-2
No files found.
src/app/ygopro.service.ts
View file @
c8afe707
...
...
@@ -458,9 +458,10 @@ export class RoomListDataSource extends DataSource<Room> {
return
this
.
ygopro
.
serverForm
.
valueChanges
.
pipe
(
this
.
ygopro
.
serverForm
.
value
?
startWith
(
this
.
ygopro
.
serverForm
.
value
)
:
tap
(),
switchMap
(
env
=>
switchMap
(
(
env
:
Server
)
=>
combineLatest
(
[
env
].
filter
(
s
=>
s
.
url
&&
(
s
.
custom
||
s
.
replay
)).
map
(
server
=>
{
// TODO: use env
this
.
ygopro
.
servers
.
filter
(
s
=>
s
.
url
&&
(
s
.
custom
||
s
.
replay
)
&&
(
env
.
id
!
===
'
tiramisu
'
&&
s
.
id
!
.
startsWith
(
'
tiramisu
'
)
||
s
===
env
)).
map
(
server
=>
{
const
url
=
new
URL
(
server
.
url
!
);
url
.
searchParams
.
set
(
'
filter
'
,
this
.
type
);
// 协议处理
...
...
Write
Preview
Markdown
is supported
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