Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3ab2cb0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
foorschtbar committed Oct 11, 2023
1 parent f3816a5 commit e21bdbd
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 30 deletions.
36 changes: 10 additions & 26 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"sass": "~1.66.1",
"sass": "~1.32.13",
"sass-loader": "^10.3.1",
"vue-cli-plugin-vuetify": "^2.4.2",
"vue-template-compiler": "^2.7.8",
Expand Down
2 changes: 1 addition & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default new Vuex.Store({
matrixSize: {},
displayHostname: '',
rules: {
required: (value) => (!!value && value.trim().length > 0) || value == '0' || 'Required.',
required: (value) => (!!value && String(value).trim().length > 0) || value == '0' || 'Required.',
notStartsWithSpace: (value) => !value.startsWith(' ') || 'Must not start with a space.',
max20Chars: (value) => value.length <= 20 || 'Max 20 characters',
email: (value) => {
Expand Down
5 changes: 4 additions & 1 deletion src/views/Options.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<br />
<prism-editor class="editor" v-model="telemetryData" :highlight="highlighter" readonly></prism-editor>
<br />
<ButtonCondition color="primary" :condition="sockedIsConnected && config.sendTelemetry" text="Send now" icon="mdi-cloud-upload" :onclick="sendTelemetry" />
<ButtonCondition color="primary" :condition="sockedIsConnected && sendTelemetryEnabled" text="Send now" icon="mdi-cloud-upload" :onclick="sendTelemetry" />
</v-card-text>
</v-card>
</v-col>
Expand Down Expand Up @@ -179,6 +179,9 @@ export default {
config() {
return this.$store.state.configData;
},
sendTelemetryEnabled() {
return this.$store.state.configData.sendTelemetry || false; // Initial value required, as the config object is not yet available for the first request.
},
sockedIsConnected() {
return this.$store.state.socket.isConnected;
},
Expand Down
5 changes: 5 additions & 0 deletions webui/css/chunk-vendors.d0ec1288.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webui/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="mobile-web-app-capable" content="yes"><link rel="icon" href="https://pixelit-project.github.io/PixelIt/webui/favicon.ico"><title>PixelIt WebUI</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="https://pixelit-project.github.io/PixelIt/webui/css/app.ccf38f0b.css" rel="preload" as="style"><link href="https://pixelit-project.github.io/PixelIt/webui/css/chunk-vendors.167dcd2e.css" rel="preload" as="style"><link href="https://pixelit-project.github.io/PixelIt/webui/js/app.c64cf076.js" rel="preload" as="script"><link href="https://pixelit-project.github.io/PixelIt/webui/js/chunk-vendors.801941cf.js" rel="preload" as="script"><link href="https://pixelit-project.github.io/PixelIt/webui/css/chunk-vendors.167dcd2e.css" rel="stylesheet"><link href="https://pixelit-project.github.io/PixelIt/webui/css/app.ccf38f0b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Pixel It the Matrix Display doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="https://pixelit-project.github.io/PixelIt/webui/js/chunk-vendors.801941cf.js"></script><script src="https://pixelit-project.github.io/PixelIt/webui/js/app.c64cf076.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="mobile-web-app-capable" content="yes"><link rel="icon" href="https://pixelit-project.github.io/PixelIt/webui/favicon.ico"><title>PixelIt WebUI</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="https://pixelit-project.github.io/PixelIt/webui/css/app.ccf38f0b.css" rel="preload" as="style"><link href="https://pixelit-project.github.io/PixelIt/webui/css/chunk-vendors.d0ec1288.css" rel="preload" as="style"><link href="https://pixelit-project.github.io/PixelIt/webui/js/app.619f1946.js" rel="preload" as="script"><link href="https://pixelit-project.github.io/PixelIt/webui/js/chunk-vendors.801941cf.js" rel="preload" as="script"><link href="https://pixelit-project.github.io/PixelIt/webui/css/chunk-vendors.d0ec1288.css" rel="stylesheet"><link href="https://pixelit-project.github.io/PixelIt/webui/css/app.ccf38f0b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Pixel It the Matrix Display doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="https://pixelit-project.github.io/PixelIt/webui/js/chunk-vendors.801941cf.js"></script><script src="https://pixelit-project.github.io/PixelIt/webui/js/app.619f1946.js"></script></body></html>
2 changes: 2 additions & 0 deletions webui/js/app.619f1946.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions webui/js/app.619f1946.js.map

Large diffs are not rendered by default.

0 comments on commit e21bdbd

Please sign in to comment.