Added more clarity

When searching for seasons the modal specifies that you must select only one series to proceed to the season selection screen
This commit is contained in:
ltctceplrm 2026-01-14 20:59:40 +01:00
parent 59919f9461
commit d748d9840e
4 changed files with 26 additions and 11 deletions

View file

@ -159,12 +159,13 @@ export interface IdSearchModalOptions {
* - skipButton: whether to add a skip button to the modal
*/
export interface SelectModalOptions {
modalTitle?: string;
elements?: MediaTypeModel[];
multiSelect?: boolean;
modalTitle?: string;
skipButton?: boolean;
description?: string; // Add this
submitButtonText?: string; // Add this too
}
/**
* Options for the preview modal.
* - modalTitle: the title of the modal
@ -210,6 +211,8 @@ export const SELECTMODALOPTIONSDEFAULT: SelectModalOptions = {
multiSelect: true,
modalTitle: '',
skipButton: false,
description: 'Select one or multiple search results.',
submitButtonText: 'Ok',
};
/**