hotfix: improve mimetype creation and dashboard data loading
Some checks failed
CI Pipeline / japa-tests (pull_request) Has been cancelled
Some checks failed
CI Pipeline / japa-tests (pull_request) Has been cancelled
- Added a NotificationBar component to display flash messages on the Mimetype creation page. - Modified FormCheckRadioGroup to handle both numeric and string keys for input values. - Removed unused code and API calls from Dashboard.vue and moved API calls to the component level where they are used. - Added authentication middleware to the 'clients' and 'authors' API routes in `start/routes/api.ts`. - Updated the file download route in `start/routes/api.ts` to include "file" in the path. - Corrected the validation message key for file extension minLength in MimetypeController.ts. - Updated favicon path in `resources/views/app.edge`. - Added argon2 dependency in `package.json`.
This commit is contained in:
parent
0bf442be96
commit
89d91d5e12
9 changed files with 893 additions and 620 deletions
|
@ -108,7 +108,9 @@ const inputElClass = computed(() => {
|
|||
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-6H5v-2h6V5h2v6h6v2h-6v6z" />
|
||||
</svg>
|
||||
</div>
|
||||
<FormCheckRadio v-for="(value, key) in options" :key="key" v-model="computedValue" :type="type"
|
||||
:name="name" :input-value="Number(key)" :label="value" :class="componentClass" />
|
||||
<!-- <FormCheckRadio v-for="(value, key) in options" :key="key" v-model="computedValue" :type="type"
|
||||
:name="name" :input-value="key" :label="value" :class="componentClass" /> -->
|
||||
<FormCheckRadio v-for="(value, key) in options" :key="key" v-model="computedValue" :type="type"
|
||||
:name="name" :input-value="isNaN(Number(key)) ? key : Number(key)" :label="value" :class="componentClass" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue