Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
56e19ba2
Commit
56e19ba2
authored
Apr 18, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GroupMemberContributions Entry
parent
4b6bb507
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
ee/app/assets/javascripts/group_member_contributions/index.js
...pp/assets/javascripts/group_member_contributions/index.js
+43
-0
No files found.
ee/app/assets/javascripts/group_member_contributions/index.js
0 → 100644
View file @
56e19ba2
import
Vue
from
'
vue
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
GroupMemberStore
from
'
./store/group_member_store
'
;
import
GroupMemberService
from
'
./service/group_member_service
'
;
import
GroupMemberContributionsApp
from
'
./components/app.vue
'
;
Vue
.
use
(
Translate
);
export
default
()
=>
{
const
el
=
document
.
getElementById
(
'
js-group-member-contributions
'
);
if
(
!
el
)
{
return
false
;
}
return
new
Vue
({
el
,
components
:
{
GroupMemberContributionsApp
,
},
data
()
{
const
{
memberContributionsPath
}
=
el
.
dataset
;
const
store
=
new
GroupMemberStore
();
const
service
=
new
GroupMemberService
(
memberContributionsPath
);
return
{
store
,
service
,
};
},
render
(
createElement
)
{
return
createElement
(
'
group-member-contributions-app
'
,
{
props
:
{
store
:
this
.
store
,
service
:
this
.
service
,
},
});
},
});
};
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