Skip to content
Snippets Groups Projects
Merged Timothee P requested to merge redmine-issues/11908 into develop
Files
3
+ 1
1
@@ -92,7 +92,7 @@ export default new Vuex.Store({
@@ -92,7 +92,7 @@ export default new Vuex.Store({
},
},
DISPLAY_MESSAGE(state, comment) {
DISPLAY_MESSAGE(state, comment) {
state.messages = [{ comment }, ...state.messages];
state.messages = [{ comment }, ...state.messages];
document.getElementById("messages").scrollIntoView({ block: "start", inline: "nearest" });
document.getElementById("content").scrollIntoView({ block: "start", inline: "nearest" });
},
},
CLEAR_MESSAGES(state) {
CLEAR_MESSAGES(state) {
state.messages = [];
state.messages = [];
Loading