Skip to content

Commit

Permalink
Fixed #64: limit in FAQ is dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed May 7, 2024
1 parent 54abc33 commit 80e4fcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/components/FrequentlyAskedQuestions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@

<script setup lang="ts">
import { ref } from 'vue'
import { humanifyFileSize } from '@/constants'
import { useAppStore } from '@/stores/stores'
const storeApp = useAppStore()
const faqs = ref([
{
title: 'What is a Zim file',
Expand All @@ -64,7 +67,7 @@ const faqs = ref([
content: `<p>
Due to the nature of the tool, we cannot allow it to create files of arbitrary size.
This could be detrimental to our infrastructure.
We currently enforce a limit: 200MiB files.
We currently enforce a limit: ${humanifyFileSize(storeApp.constants.env.NAUTILUS_PROJECT_QUOTA)} files.
</p>`,
toggle: false
},
Expand Down

0 comments on commit 80e4fcd

Please sign in to comment.