diff --git a/src/components/nav-buttons/ExportMenu.vue b/src/components/nav-buttons/ExportMenu.vue index dce28cc8..74022831 100644 --- a/src/components/nav-buttons/ExportMenu.vue +++ b/src/components/nav-buttons/ExportMenu.vue @@ -317,23 +317,18 @@ test('renders ${componentName}', () => { if (compClass !== "" && compID !== "") { - if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){ - return ``; - } return ``; } else if (compClass !== "" && compID === "") { - if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){ - return ``; - } + return ``; } else if (compClass === "" && compID !== "") { - if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return ``;} + return ``; } else { - if(this.$store.state.exportOauth ==='on'||this.$store.state.exportOauthGithub ==='on'){return ``;} + return ``; } } @@ -416,22 +411,16 @@ test('renders ${componentName}', () => { let output; if (this.exportAsTypescript === "on") { output = "\n\n