Fix asset settings not loading in Frontend

This commit is contained in:
eris 2022-08-01 05:19:10 +00:00
parent c727ba8b18
commit 4c6d67dde7
4 changed files with 689 additions and 321 deletions

View file

@ -2,6 +2,7 @@ pipeline:
lint: lint:
when: when:
event: event:
- push
- pull_request - pull_request
image: node:14 image: node:14
commands: commands:
@ -12,13 +13,14 @@ pipeline:
test: test:
when: when:
event: event:
- push
- pull_request - pull_request
image: node:14 image: node:14
commands: commands:
- apt update - apt update
- apt install firefox-esr -y --no-install-recommends - apt install firefox-esr -y --no-install-recommends
- git config --global url."https://github.com/".insteadOf git://github.com/ - git config --global url."https://github.com/".insteadOf git://github.com/
- yarn - yarn
- yarn test - yarn test
build: build:

View file

@ -40,7 +40,7 @@
"dependencies": { "dependencies": {
"@babel/runtime": "^7.3.4", "@babel/runtime": "^7.3.4",
"axios": "0.18.0", "axios": "0.18.0",
"clipboard": "1.7.1", "clipboard": "1.7.1",
"codemirror": "5.39.2", "codemirror": "5.39.2",
"default-passive-events": "^1.0.10", "default-passive-events": "^1.0.10",
"driver.js": "0.8.1", "driver.js": "0.8.1",
@ -111,7 +111,7 @@
"lint-staged": "7.2.2", "lint-staged": "7.2.2",
"mini-css-extract-plugin": "0.4.1", "mini-css-extract-plugin": "0.4.1",
"node-notifier": "5.2.1", "node-notifier": "5.2.1",
"node-sass": "^4.12.0", "node-sass": "^7.0.1",
"optimize-css-assets-webpack-plugin": "5.0.0", "optimize-css-assets-webpack-plugin": "5.0.0",
"ora": "3.0.0", "ora": "3.0.0",
"path-to-regexp": "2.4.0", "path-to-regexp": "2.4.0",

View file

@ -14,7 +14,9 @@
<setting :setting-group="frontends" :data="frontendsData"/> <setting :setting-group="frontends" :data="frontendsData"/>
</el-form> </el-form>
<el-divider v-if="frontends" class="divider thick-line"/> <el-divider v-if="frontends" class="divider thick-line"/>
<el-form :model="assetsData" :label-position="labelPosition" :label-width="labelWidth"/> <el-form :model="assetsData" :label-position="labelPosition" :label-width="labelWidth">
<setting :setting-group="assets" :data="assetsData"/>
</el-form>
<el-divider v-if="assets" class="divider thick-line"/> <el-divider v-if="assets" class="divider thick-line"/>
<el-form :model="chatData" :label-position="labelPosition" :label-width="labelWidth"> <el-form :model="chatData" :label-position="labelPosition" :label-width="labelWidth">
<setting :setting-group="chat" :data="chatData"/> <setting :setting-group="chat" :data="chatData"/>

998
yarn.lock

File diff suppressed because it is too large Load diff