summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/settings.drive.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/desktop/views/components/settings.drive.vue')
-rw-r--r--src/client/app/desktop/views/components/settings.drive.vue34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/client/app/desktop/views/components/settings.drive.vue b/src/client/app/desktop/views/components/settings.drive.vue
deleted file mode 100644
index efe8636169..0000000000
--- a/src/client/app/desktop/views/components/settings.drive.vue
+++ /dev/null
@@ -1,34 +0,0 @@
-<template>
-<div class="root">
- <template v-if="!fetching">
- <p><b>{{ capacity | bytes }}</b>%i18n:@max%<b>{{ usage | bytes }}</b>%i18n:@in-use%</p>
- </template>
-</div>
-</template>
-
-<script lang="ts">
-import Vue from 'vue';
-export default Vue.extend({
- data() {
- return {
- fetching: true,
- usage: null,
- capacity: null
- };
- },
- mounted() {
- (this as any).api('drive').then(info => {
- this.capacity = info.capacity;
- this.usage = info.usage;
- this.fetching = false;
- });
- }
-});
-</script>
-
-<style lang="stylus" scoped>
-.root
- > p
- > b
- margin 0 8px
-</style>