Add subtitle name to track label

This commit is contained in:
Harvey Zack committed 2023-11-21 11:11:30 +08:00
1 parent 3d8d22a98a
commit ce99b73d04
8 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ export default class Setting extends Component {
remove(name) {
const item = this.find(name);
errorHandle(item, `Can't find [${name}] from the [setting]`);
const parent = item.$parentItem?.selector || this.option;
const parent = item.$parentItem ? item.$parentItem.selector : this.option;
parent.splice(parent.indexOf(item), 1);
this.option = Setting.makeRecursion(this.option);
this.destroy();