hardlounge/client/js/socket-events/search.js

8 lines
209 B
JavaScript
Raw Normal View History

2019-12-31 16:21:34 +00:00
import socket from "../socket";
import store from "../store";
socket.on("search:results", (response) => {
store.commit("messageSearchInProgress", false);
store.commit("messageSearchResults", response);
});