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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
1c74f559
Commit
1c74f559
authored
Mar 16, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed profile notifications not being editable
Closes #44198
parent
78fb81e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
app/assets/javascripts/pages/profiles/notifications/show/index.js
...ts/javascripts/pages/profiles/notifications/show/index.js
+7
-0
spec/features/profiles/user_visits_notifications_tab_spec.rb
spec/features/profiles/user_visits_notifications_tab_spec.rb
+1
-1
No files found.
app/assets/javascripts/pages/profiles/notifications/show/index.js
0 → 100644
View file @
1c74f559
import
NotificationsForm
from
'
../../../../notifications_form
'
;
import
notificationsDropdown
from
'
../../../../notifications_dropdown
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
NotificationsForm
();
// eslint-disable-line no-new
notificationsDropdown
();
});
spec/features/profiles/user_visits_notifications_tab_spec.rb
View file @
1c74f559
...
@@ -16,6 +16,6 @@ feature 'User visits the notifications tab', :js do
...
@@ -16,6 +16,6 @@ feature 'User visits the notifications tab', :js do
first
(
'#notifications-button'
).
click
first
(
'#notifications-button'
).
click
click_link
(
'On mention'
)
click_link
(
'On mention'
)
expect
(
page
).
to
have_
content
(
'On mention'
)
expect
(
page
).
to
have_
selector
(
'#notifications-button'
,
text:
'On mention'
)
end
end
end
end
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