Skip to content

Commit 1729247

Browse files
oauth half down
1 parent 0392047 commit 1729247

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/components/nav-buttons/ExportMenu.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Description:
1717

1818
</q-btn>
1919
</template>
20-
2120
<script>
2221
import { useExportComponent } from "../composables/useExportComponent.js";
2322
import { mapState } from "vuex";
@@ -199,9 +198,6 @@ export default {
199198
<el-button>replies</el-button`,
200199
`
201200
</el-badge>`],
202-
203-
204-
205201
};
206202
// function to loop through nested elements
207203
function writeNested(childrenArray, indent) {
@@ -299,7 +295,6 @@ export default {
299295
} else {
300296
str += `\t\t\t<router-link to="/${route}" class = "componentLinks">${route}</router-link>\n`;
301297
}}
302-
str += `\t\t</div>\n\t\t<router-view class = "router-view"></router-view>\n`;
303298
}
304299
else {
305300
// Adds component name as class for all routes
@@ -755,7 +750,7 @@ export default {
755750
this.createTSDeclaration(data);
756751
this.createPackage(data);
757752
this.createStore(data);
758-
this.createFirebaseConfigFile(data)
753+
this.createFirebaseConfigFile(data);
759754
// exports images to the /assets folder
760755
// eslint-disable-next-line no-unused-vars
761756
for (let [routeImage, imageLocation] of Object.entries(this.imagePath)) {

src/layouts/MyLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,15 @@ export default {
245245
this.$store.commit("EXPORT_AS_TYPESCRIPT", checkboxValue);
246246
},
247247
syncOauthFlag(e) {
248-
248+
console.log(this.$store.state.exportOauth);
249249
let checkboxValue;
250250
if (e.target.value === "off") {
251251
checkboxValue = "on";
252252
} else {
253253
checkboxValue = "off";
254254
}
255255
this.$store.commit("EXPORT_OAUTH", checkboxValue);
256-
console.log(this.exportOauth);
256+
257257
},
258258
clickedUndo() {
259259
this.$emit('undo');

0 commit comments

Comments
 (0)