mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-08-16 08:00:26 +02:00
chore: simplify js linting
This commit is contained in:
@@ -60,10 +60,10 @@ export function ChangeVersionDialog({
|
||||
if (profile && selectedVersion) {
|
||||
// Check if this is a downgrade
|
||||
const currentVersionIndex = availableVersions.findIndex(
|
||||
(v) => v.tag_name === profile.version,
|
||||
(v) => v.tag_name === profile.version
|
||||
);
|
||||
const selectedVersionIndex = availableVersions.findIndex(
|
||||
(v) => v.tag_name === selectedVersion,
|
||||
(v) => v.tag_name === selectedVersion
|
||||
);
|
||||
|
||||
// If selected version has a higher index, it's older (downgrade)
|
||||
|
||||
Reference in New Issue
Block a user