Skip to content

Commit

Permalink
scriptshifter bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismattmiller committed Jun 11, 2024
1 parent c9157ab commit b054003
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 50 deletions.
1 change: 0 additions & 1 deletion dist/assets/index-BLjDDubX.js.map

This file was deleted.

26 changes: 13 additions & 13 deletions dist/assets/index-DlN3nOhW.css → dist/assets/index-CbBIMzaZ.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,46 +134,46 @@ button[data-v-83f7db71]{
}


th[data-v-fac18cbd]{
th[data-v-d73a33b4]{
text-align: left;
font-weight: bold;
}
tr[data-v-fac18cbd]:hover{
tr[data-v-d73a33b4]:hover{
background-color: aliceblue;
}
td[data-v-fac18cbd]{
td[data-v-d73a33b4]{
border-bottom: solid 1px whitesmoke;
}
.checkbox-option[data-v-fac18cbd]{
.checkbox-option[data-v-d73a33b4]{
width: 20px;
height: 20px;
}
input[type=checkbox][data-v-fac18cbd]{
input[type=checkbox][data-v-d73a33b4]{
width: 25px;
height: 25px;
}
.option[data-v-fac18cbd]{
.option[data-v-d73a33b4]{
display: flex;
}
.option-title[data-v-fac18cbd]{
.option-title[data-v-d73a33b4]{
flex:2;
}
.option-title-header[data-v-fac18cbd]{
.option-title-header[data-v-d73a33b4]{
font-weight: bold;
}
.option-title-desc[data-v-fac18cbd]{
.option-title-desc[data-v-d73a33b4]{
font-size: 0.8em;
color:gray;
}
#debug-content[data-v-fac18cbd]{
#debug-content[data-v-d73a33b4]{
overflow: hidden;
overflow-y: auto;
}
.menu-buttons[data-v-fac18cbd]{
.menu-buttons[data-v-d73a33b4]{
margin-bottom: 2em;
position: relative;
}
.close-button[data-v-fac18cbd]{
.close-button[data-v-d73a33b4]{
position: absolute;
right: 5px;
top: 5px;
Expand All @@ -182,7 +182,7 @@ input[type=checkbox][data-v-fac18cbd]{
border: solid 1px black;
cursor: pointer;
}
.debug-modal[data-v-fac18cbd]{
.debug-modal[data-v-d73a33b4]{
background-color: white;
-webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.27);
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.27);
Expand Down
23 changes: 4 additions & 19 deletions dist/assets/index-BLjDDubX.js → dist/assets/index-enxQ0v22.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var require_index_001 = __commonJS({
"assets/index-BLjDDubX.js"(exports, module) {
"assets/index-enxQ0v22.js"(exports, module) {
(function polyfill() {
const relList = document.createElement("link").relList;
if (relList && relList.supports && relList.supports("modulepreload")) {
Expand Down Expand Up @@ -35623,24 +35623,9 @@ ${$$2(r2)}`), n2;
}
},
async mounted() {
let req = await fetch(this.configStore.returnUrls.scriptshifter + "languages");
let json = await req.json();
for (let k2 in json) {
json[k2].s2r = false;
json[k2].r2s = false;
if (this.scriptShifterOptions[k2]) {
if (this.scriptShifterOptions[k2].s2r) {
json[k2].s2r = true;
}
if (this.scriptShifterOptions[k2].r2s) {
json[k2].r2s = true;
}
}
}
this.allLanguages = json;
}
};
const _withScopeId$b = (n2) => (pushScopeId("data-v-fac18cbd"), n2 = n2(), popScopeId(), n2);
const _withScopeId$b = (n2) => (pushScopeId("data-v-d73a33b4"), n2 = n2(), popScopeId(), n2);
const _hoisted_1$E = { class: "menu-buttons" };
const _hoisted_2$v = /* @__PURE__ */ _withScopeId$b(() => /* @__PURE__ */ createBaseVNode("p", null, [
/* @__PURE__ */ createTextVNode("Visit "),
Expand Down Expand Up @@ -35738,7 +35723,7 @@ ${$$2(r2)}`), n2;
_: 1
});
}
const ScriptshifterConfigModal = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$t], ["__scopeId", "data-v-fac18cbd"]]);
const ScriptshifterConfigModal = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$t], ["__scopeId", "data-v-d73a33b4"]]);
const _sfc_main$u = {
components: {
LoadingModal,
Expand Down Expand Up @@ -64275,4 +64260,4 @@ ${$$2(r2)}`), n2;
}
});
export default require_index_001();
//# sourceMappingURL=index-BLjDDubX.js.map
//# sourceMappingURL=index-enxQ0v22.js.map
1 change: 1 addition & 0 deletions dist/assets/index-enxQ0v22.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" href="/bfe2/quartz/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<script type="module" crossorigin src="/bfe2/quartz/assets/index-BLjDDubX.js"></script>
<link rel="stylesheet" crossorigin href="/bfe2/quartz/assets/index-DlN3nOhW.css">
<script type="module" crossorigin src="/bfe2/quartz/assets/index-enxQ0v22.js"></script>
<link rel="stylesheet" crossorigin href="/bfe2/quartz/assets/index-CbBIMzaZ.css">
</head>
<body>
<div id="app"></div>
Expand Down
30 changes: 15 additions & 15 deletions src/components/panels/edit/modals/ScriptshifterConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,25 +110,25 @@
async mounted() {
let req = await fetch(this.configStore.returnUrls.scriptshifter + 'languages')
let json = await req.json()
for (let k in json){
// let req = await fetch(this.configStore.returnUrls.scriptshifter + 'languages')
// let json = await req.json()
// for (let k in json){
json[k].s2r = false
json[k].r2s = false
// json[k].s2r = false
// json[k].r2s = false
if (this.scriptShifterOptions[k]){
if (this.scriptShifterOptions[k].s2r){
json[k].s2r = true
}
if (this.scriptShifterOptions[k].r2s){
json[k].r2s = true
}
}
// if (this.scriptShifterOptions[k]){
// if (this.scriptShifterOptions[k].s2r){
// json[k].s2r = true
// }
// if (this.scriptShifterOptions[k].r2s){
// json[k].r2s = true
// }
// }
}
// }
this.allLanguages = json
// this.allLanguages = json
// this.$nextTick(()=>{
Expand Down

0 comments on commit b054003

Please sign in to comment.