summaryrefslogtreecommitdiff
path: root/src/client/app/dev/views/app.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/dev/views/app.vue')
-rw-r--r--src/client/app/dev/views/app.vue41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/client/app/dev/views/app.vue b/src/client/app/dev/views/app.vue
deleted file mode 100644
index 2379d71aa5..0000000000
--- a/src/client/app/dev/views/app.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-<template>
-<mk-ui>
- <p v-if="fetching">{{ $t('@.loading') }}</p>
- <b-card v-if="!fetching" :header="app.name">
- <b-form-group label="App Secret">
- <b-input :value="app.secret" readonly/>
- </b-form-group>
- </b-card>
-</mk-ui>
-</template>
-
-<script lang="ts">
-import Vue from 'vue';
-import i18n from '../../i18n';
-export default Vue.extend({
- i18n: i18n(),
- data() {
- return {
- fetching: true,
- app: null
- };
- },
- watch: {
- $route: 'fetch'
- },
- mounted() {
- this.fetch();
- },
- methods: {
- fetch() {
- this.fetching = true;
- this.$root.api('app/show', {
- appId: this.$route.params.id
- }).then(app => {
- this.app = app;
- this.fetching = false;
- });
- }
- }
-});
-</script>