Skip to content

Commit

Permalink
Update web application dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien committed Dec 18, 2020
1 parent c64dda1 commit 3ee8f26
Show file tree
Hide file tree
Showing 10 changed files with 10,165 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/webapp/layouts/error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ import { Auth } from '@/mixins/auth'
export default {
mixins: [Auth, GlobalOverlay],
layout: 'empty',
props: {
error: {
type: Object,
required: true,
},
},
layout: 'empty',
data() {
return {
displayErrorHTML: false,
Expand Down
10 changes: 5 additions & 5 deletions src/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
},
"devDependencies": {
"@babel/runtime-corejs3": "^7.10.3",
"@nuxtjs/eslint-config": "^3.0.0",
"@nuxtjs/eslint-module": "^2.0.0",
"@nuxtjs/eslint-config": "^5.0.0",
"@nuxtjs/eslint-module": "^3.0.2",
"@nuxtjs/stylelint-module": "^4.0.0",
"babel-eslint": "^10.1.0",
"core-js": "3",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-nuxt": "^1.0.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-nuxt": "^2.0.0",
"eslint-plugin-prettier": "^3.1.4",
"node-sass": "^4.14.1",
"node-sass": "^5.0.0",
"prettier": "^2.0.5",
"sass-loader": "^10.0.2",
"stylelint": "^13.6.1",
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/dashboard/admin/users/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ import ConfirmDelete from '@/components/forms/ConfirmDelete'
export default {
components: { ConfirmDelete, FilesList, ErrorsList },
layout: 'dashboard',
mixins: [Form, Roles, Locales, GlobalOverlay, Auth, Images, GenericToast],
layout: 'dashboard',
async asyncData(context) {
try {
const result = await context.app.$graphql.request(UserQuery, {
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/dashboard/admin/users/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ import { GenericToast } from '@/mixins/generic-toast'
export default {
components: { ErrorsList, FilesList },
layout: 'dashboard',
mixins: [Form, Roles, Locales, GlobalOverlay, GenericToast],
layout: 'dashboard',
data() {
return {
form: {
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/dashboard/admin/users/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ import { UsersQuery } from '@/graphql/users/users.query'
import { Images } from '@/mixins/images'
export default {
layout: 'dashboard',
mixins: [Form, List, Roles, Images],
layout: 'dashboard',
async asyncData(context) {
try {
const result = await context.app.$graphql.request(UsersQuery, {
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/dashboard/my-profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ import { UpdateProfilePictureMutation } from '@/graphql/users/update_profile_pic
export default {
components: { FilesList, ErrorsList },
layout: 'dashboard',
mixins: [Form, Auth, Roles, Images, GlobalOverlay],
layout: 'dashboard',
middleware: ['redirect-if-not-authenticated'],
data() {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ import { LoginMutation } from '@/graphql/auth/login.mutation'
import { Auth } from '@/mixins/auth'
export default {
layout: 'card',
mixins: [Auth, Form, GlobalOverlay],
layout: 'card',
middleware: ['redirect-if-authenticated'],
data() {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/reset-password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ import { Form } from '@/mixins/form'
import { ResetPasswordMutation } from '@/graphql/auth/reset_password.mutation'
export default {
layout: 'card',
components: { ErrorsList },
mixins: [Form, GlobalOverlay],
layout: 'card',
middleware: ['redirect-if-authenticated'],
data() {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/update-password/_id/_token/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ import { UpdatePasswordMutation } from '@/graphql/auth/update_password.mutation'
export default {
components: { ErrorsList },
layout: 'card',
mixins: [Form, GlobalOverlay],
layout: 'card',
middleware: ['redirect-if-authenticated'],
async asyncData(context) {
try {
Expand Down
Loading

0 comments on commit 3ee8f26

Please sign in to comment.