mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
refactor: remove useless assignment
This commit is contained in:
parent
6664b6ec62
commit
082d9e55c6
1 changed files with 1 additions and 3 deletions
|
@ -22,7 +22,7 @@ export default async function (text, title) {
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
const items = [
|
options.buttons = [
|
||||||
{
|
{
|
||||||
name: globalize.translate('ButtonGotIt'),
|
name: globalize.translate('ButtonGotIt'),
|
||||||
id: 'ok',
|
id: 'ok',
|
||||||
|
@ -30,7 +30,5 @@ export default async function (text, title) {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
options.buttons = items;
|
|
||||||
|
|
||||||
return dialog.show(options);
|
return dialog.show(options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue