Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
7d7fd9e9
Commit
7d7fd9e9
authored
Sep 18, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Задача 12799] Исправил ошибку при удалении опечатки
При удалении опечатки список становился пустым, не зависимо от кол-ва опечаток
parent
7aafcc34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SiteList.jsx
cp/javascript/src/components/SiteList.jsx
+1
-1
No files found.
cp/javascript/src/components/SiteList.jsx
View file @
7d7fd9e9
...
@@ -79,7 +79,7 @@ export default class SiteList extends React.Component {
...
@@ -79,7 +79,7 @@ export default class SiteList extends React.Component {
removeTypoFromList
=
(
typoId
)
=>
{
removeTypoFromList
=
(
typoId
)
=>
{
this
.
setState
({
this
.
setState
({
typos
:
this
.
state
.
typos
.
filter
((
typo
)
=>
{
typo
.
id
!==
typoId
}
)
typos
:
this
.
state
.
typos
.
filter
((
typo
)
=>
typo
.
id
!==
typoId
)
});
});
}
}
...
...
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