summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-21 05:42:31 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-21 05:42:31 +0900
commita603602f32ad6ca40e407c768e1cb71c8649db60 (patch)
treed0d5ac0527ff8d045e508ef26ca2151d6eb4f8b4 /src/client
parentRevert "Fix bug?" (diff)
downloadsharkey-a603602f32ad6ca40e407c768e1cb71c8649db60.tar.gz
sharkey-a603602f32ad6ca40e407c768e1cb71c8649db60.tar.bz2
sharkey-a603602f32ad6ca40e407c768e1cb71c8649db60.zip
Clean up
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/config.ts2
-rw-r--r--src/client/app/desktop/views/components/settings.vue13
2 files changed, 1 insertions, 14 deletions
diff --git a/src/client/app/config.ts b/src/client/app/config.ts
index 76cd536a49..74b9ea21c8 100644
--- a/src/client/app/config.ts
+++ b/src/client/app/config.ts
@@ -4,7 +4,6 @@ declare const _THEME_COLOR_: string;
declare const _COPYRIGHT_: string;
declare const _VERSION_: string;
declare const _CODENAME_: string;
-declare const _LICENSE_: string;
const address = new URL(location.href);
@@ -19,4 +18,3 @@ export const themeColor = _THEME_COLOR_;
export const copyright = _COPYRIGHT_;
export const version = _VERSION_;
export const codename = _CODENAME_;
-export const license = _LICENSE_;
diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue
index e249afed85..759463981d 100644
--- a/src/client/app/desktop/views/components/settings.vue
+++ b/src/client/app/desktop/views/components/settings.vue
@@ -191,12 +191,6 @@
<button class="ui button block" @click="taskmngr">%i18n:@task-manager%</button>
</details>
</section>
-
- <section class="other" v-show="page == 'other'">
- <h1>%i18n:@license%</h1>
- <div v-html="license"></div>
- <a :href="licenseUrl" target="_blank">%i18n:@third-parties%</a>
- </section>
</div>
</div>
</template>
@@ -211,7 +205,7 @@ import XApi from './settings.api.vue';
import XApps from './settings.apps.vue';
import XSignins from './settings.signins.vue';
import XDrive from './settings.drive.vue';
-import { url, docsUrl, license, lang, langs, version } from '../../../config';
+import { url, langs, version } from '../../../config';
import checkForUpdate from '../../../common/scripts/check-for-update';
import MkTaskManager from './taskmanager.vue';
@@ -230,7 +224,6 @@ export default Vue.extend({
return {
page: 'profile',
meta: null,
- license,
version,
langs,
latestVersion: undefined,
@@ -238,10 +231,6 @@ export default Vue.extend({
};
},
computed: {
- licenseUrl(): string {
- return `${docsUrl}/${lang}/license`;
- },
-
apiViaStream: {
get() { return this.$store.state.device.apiViaStream; },
set(value) { this.$store.commit('device/set', { key: 'apiViaStream', value }); }