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
|
@ -64,7 +64,7 @@ export default class MimetypeController {
|
|||
'maxLength': '{{ field }} must be less then {{ max }} characters long',
|
||||
'isUnique': '{{ field }} must be unique, and this value is already taken',
|
||||
'required': '{{ field }} is required',
|
||||
'file_extension.minLength': 'at least {{ min }} mimetypes must be defined',
|
||||
'file_extension.array.minLength': 'at least {{ min }} mimetypes must be defined',
|
||||
'file_extension.*.string': 'Each file extension must be a valid string', // Adjusted to match the type
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue