Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5cf99749
authored
Dec 05, 2024
by
Calcium-Ion
Committed by
GitHub
Dec 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用代码
parent
7ed8ef67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
web/src/components/ChannelsTable.js
+0
-4
No files found.
web/src/components/ChannelsTable.js
View file @
5cf99749
...
...
@@ -781,10 +781,6 @@ const ChannelsTable = () => {
const
{
success
,
message
,
data
}
=
res
.
data
;
if
(
success
)
{
setChannelFormat
(
data
,
enableTagMode
);
if
(
!
enableTagMode
)
{
setChannels
(
data
.
map
(
channel
=>
({...
channel
,
key
:
''
+
channel
.
id
})));
setChannelCount
(
data
.
length
);
}
setActivePage
(
1
);
}
else
{
showError
(
message
);
...
...
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