diff --git a/frontend/src/components/LogsViewer.vue b/frontend/src/components/LogsViewer.vue
index de60e154f..473e428f9 100644
--- a/frontend/src/components/LogsViewer.vue
+++ b/frontend/src/components/LogsViewer.vue
@@ -11,9 +11,9 @@
-
-
-
+
+
+
@@ -49,6 +49,9 @@ export default {
logsModel: null,
appModel: null,
busyRestart: false,
+ showRestart: false,
+ showFilemanager: false,
+ showTerminal: false,
id: '',
name: '',
type: '',
@@ -116,9 +119,13 @@ export default {
if (this.type === 'app') {
this.appModel = AppModel.create(this.apiOrigin, this.accessToken, this.id);
+
try {
const app = await this.appModel.get();
this.name = `${app.label || app.fqdn} (${app.manifest.title})`;
+ this.showFilemanager = !!app.manifest.addons.localstorage;
+ this.showTerminal = app.manifest.id !== 'io.cloudron.builtin.appproxy';
+ this.showRestart = app.manifest.id !== 'io.cloudron.builtin.appproxy';
} catch (e) {
console.error(`Failed to get app info for ${this.id}:`, e);
}