Skip to content

Commit

Permalink
Merge pull request #810 from traPtitech/main
Browse files Browse the repository at this point in the history
MultipleChoiceが選択されないで編集されることを考慮
  • Loading branch information
MotoyaAsahina authored Feb 15, 2022
2 parents 2550471 + ad00f10 commit 774b7bb
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 371 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1.3.0

# build backend
FROM golang:1.17.5-alpine as server-build
FROM golang:1.17.6-alpine as server-build
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update git

Expand All @@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
go build -o /anke-to -ldflags "-s -w"

#build frontend
FROM node:16.13.1-alpine3.14 as client-build
FROM node:16.13.2-alpine3.14 as client-build
WORKDIR /github.com/traPtitech/anke-to/client
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update --no-cache python3 make g++
Expand Down
179 changes: 50 additions & 129 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion client/src/bin/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ export default {
})
break
case 'MultipleChoice':
question.selected = responseData.option_response[ 0 ]
if (responseData.option_response) {
question.selected = responseData.option_response[ 0 ]
}
break
case 'LinearScale':
question.selected = toNumber(responseData.response)
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.5-alpine as build-step
FROM golang:1.17.7-alpine as build-step
RUN apk add --update --no-cache ca-certificates git

WORKDIR /go/src/github.com/traPtitech/anke-to
Expand Down
4 changes: 2 additions & 2 deletions docker/staging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1.3.0

# build backend
FROM golang:1.17.5-alpine as server-build
FROM golang:1.17.7-alpine as server-build
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update git

Expand All @@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
go build -o /anke-to -ldflags "-s -w"

#build frontend
FROM node:16.13.1-alpine3.14 as client-build
FROM node:16.14.0-alpine3.14 as client-build
WORKDIR /github.com/traPtitech/anke-to/client
RUN --mount=type=cache,target=/var/cache/apk \
apk add --update --no-cache python3 make g++
Expand Down
2 changes: 1 addition & 1 deletion docker/tuning/Dockerfile.server
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.5-alpine as build-step
FROM golang:1.17.7-alpine as build-step
RUN apk add --update --no-cache ca-certificates git

WORKDIR /go/src/github.com/traPtitech/anke-to
Expand Down
Loading

0 comments on commit 774b7bb

Please sign in to comment.