diff --git a/src/components/LiveLogsUserActivityGraph.vue b/src/components/LiveLogsUserActivityGraph.vue index 746d3cd..30e0f2e 100644 --- a/src/components/LiveLogsUserActivityGraph.vue +++ b/src/components/LiveLogsUserActivityGraph.vue @@ -3,7 +3,7 @@ import { userActivity, userActivityConfig } from "@/socket"; import { darkModeEnabled } from "@/settings.js" - const props = defineProps(['user_id', 'compact_view']) + const props = defineProps(['user_id', 'compact_view', 'ultra_compact_view']) const theChart = ref(null) const bufferSize = computed(() => userActivityConfig.value.activity_buffer_size) @@ -54,14 +54,14 @@ \ No newline at end of file diff --git a/src/components/scoreViews/TheFullScreenScoreGrid.vue b/src/components/scoreViews/TheFullScreenScoreGrid.vue index b8668f9..8447458 100644 --- a/src/components/scoreViews/TheFullScreenScoreGrid.vue +++ b/src/components/scoreViews/TheFullScreenScoreGrid.vue @@ -95,6 +95,7 @@ } } + const compactGrid = computed(() => { return userCount.value > 70 }) const hasProgress = computed(() => Object.keys(progresses.value).length > 0) const sortedProgress = computed(() => Object.values(progresses.value).sort((a, b) => { if (a.email < b.email) { @@ -140,6 +141,7 @@ dark:bg-blue-800 bg-blue-500 dark:text-slate-300 text-slate-100 " > +