hardlounge/client/js/socket-events/search.js
2020-04-26 22:39:05 +03:00

8 lines
209 B
JavaScript

import socket from "../socket";
import store from "../store";
socket.on("search:results", (response) => {
store.commit("messageSearchInProgress", false);
store.commit("messageSearchResults", response);
});