diff --git a/frontend/components/SettingsDialog.vue b/frontend/components/SettingsDialog.vue
index 48d4302..82ca09a 100644
--- a/frontend/components/SettingsDialog.vue
+++ b/frontend/components/SettingsDialog.vue
@@ -24,6 +24,20 @@
+
+
+
+ Mobile Tasklist
+
+
+ multiple tasks per line
+
+
+
+
+
+
+
@@ -106,7 +120,8 @@ export default defineComponent({
const settings = reactive({
dark: store.state.settings.dark,
autoRefresh: store.state.settings.autoRefresh,
- autoSync: store.state.settings.autoSync
+ autoSync: store.state.settings.autoSync,
+ mobilelist: store.state.settings.mobilelist
});
const reset = () => {
diff --git a/frontend/components/TaskList.vue b/frontend/components/TaskList.vue
index 85b9652..77f0739 100644
--- a/frontend/components/TaskList.vue
+++ b/frontend/components/TaskList.vue
@@ -47,6 +47,7 @@
v-model="selected"
class="elevation-1"
style="width: 100%"
+ :mobile-breakpoint="store.state.settings.mobilelist ? undefined : 0"
>
@@ -390,6 +391,7 @@ export default defineComponent({
};
return {
+ store,
linkify,
refresh,
headers,
diff --git a/frontend/store/index.ts b/frontend/store/index.ts
index e7252c6..4ad74fc 100644
--- a/frontend/store/index.ts
+++ b/frontend/store/index.ts
@@ -12,7 +12,8 @@ export const state = () => ({
settings: {
dark: false,
autoRefresh: '5', // in minutes
- autoSync: '0' // in minutes
+ autoSync: '0', // in minutes
+ mobilelist: true
}
});