Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
8af7827a
Commit
8af7827a
authored
Feb 18, 2019
by
Grandschtroumpf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change "name" by "entity" for `add` and `remove` events
parent
5ce1c998
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
plugin-manager-component.js
src/app/components/plugin-manager-component.js
+2
-2
swap-panel-component.js
src/app/components/swap-panel-component.js
+2
-2
vertical-icons-component.js
src/app/components/vertical-icons-component.js
+2
-2
No files found.
src/app/components/plugin-manager-component.js
View file @
8af7827a
...
...
@@ -36,8 +36,8 @@ class PluginManagerComponent {
this
.
store
=
store
this
.
store
.
event
.
on
(
'activate'
,
(
name
)
=>
{
this
.
reRender
()
})
this
.
store
.
event
.
on
(
'deactivate'
,
(
name
)
=>
{
this
.
reRender
()
})
this
.
store
.
event
.
on
(
'add'
,
(
name
)
=>
{
this
.
reRender
()
})
this
.
store
.
event
.
on
(
'remove'
,
(
name
)
=>
{
this
.
reRender
()
})
this
.
store
.
event
.
on
(
'add'
,
(
entity
)
=>
{
this
.
reRender
()
})
this
.
store
.
event
.
on
(
'remove'
,
(
entity
)
=>
{
this
.
reRender
()
})
}
render
()
{
...
...
src/app/components/swap-panel-component.js
View file @
8af7827a
...
...
@@ -32,8 +32,8 @@ class SwapPanelComponent {
this
.
store
.
event
.
on
(
'deactivate'
,
(
name
)
=>
{
if
(
this
.
contents
[
name
])
this
.
remove
(
name
)
})
this
.
store
.
event
.
on
(
'add'
,
(
name
)
=>
{
})
this
.
store
.
event
.
on
(
'remove'
,
(
name
)
=>
{
})
this
.
store
.
event
.
on
(
'add'
,
(
entity
)
=>
{
})
this
.
store
.
event
.
on
(
'remove'
,
(
entity
)
=>
{
})
}
showContent
(
moduleName
)
{
...
...
src/app/components/vertical-icons-component.js
View file @
8af7827a
...
...
@@ -20,8 +20,8 @@ class VerticalIconComponent {
const
item
=
this
.
store
.
get
(
name
)
if
(
item
&&
this
.
icons
[
name
])
this
.
removeIcon
(
item
.
profile
)
})
this
.
store
.
event
.
on
(
'add'
,
(
name
)
=>
{
})
this
.
store
.
event
.
on
(
'remove'
,
(
name
)
=>
{
})
this
.
store
.
event
.
on
(
'add'
,
(
entity
)
=>
{
})
this
.
store
.
event
.
on
(
'remove'
,
(
entity
)
=>
{
})
}
addIcon
(
mod
)
{
...
...
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