Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 24.12.01 #133

Merged
merged 11 commits into from
Apr 12, 2024
7 changes: 6 additions & 1 deletion app/javascript/widget/store/modules/conversation/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,13 @@ export const actions = {
commit('clearConversations');
},

addOrUpdateMessage: async ({ commit }, data) => {
addOrUpdateMessage: async ({ commit, state }, data) => {
const { id, content_attributes } = data;
const { quickReplies } = state;
// If there are quick replies active, remove them before showing the new message
if (quickReplies.options.length > 0) {
commit('setQuickRepliesOptions', []);
}
if (content_attributes && content_attributes.deleted) {
commit('deleteMessage', id);
return;
Expand Down
4 changes: 0 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ ENV NODE_OPTIONS ${NODE_OPTIONS}

ENV BUNDLE_PATH="/gems"

RUN apk add --update --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main vips

RUN apk update && apk add --no-cache \
openssl \
tar \
Expand Down Expand Up @@ -97,8 +95,6 @@ ARG RAILS_ENV=production
ENV RAILS_ENV ${RAILS_ENV}
ENV BUNDLE_PATH="/gems"

RUN apk add --update --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main vips

RUN apk update && apk add --no-cache \
build-base \
openssl \
Expand Down
Loading