mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-09 06:12:56 +00:00
update
This commit is contained in:
1 parent
b85a101749
commit
281a6511f1
165 files changed
+48618
-14019
No files matched your search
@@ -791,12 +791,16 @@ export class EditModal {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.activeVideo || !this.root) {
|
||||
this.showError("No video selected for editing.");
|
||||
const contextVideo = this.activeVideo || this.pendingSubmitVideo || null;
|
||||
|
||||
if (!contextVideo || !this.root) {
|
||||
if (this.isVisible) {
|
||||
this.showError("No video selected for editing.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
this.setSubmitState({ pending: true, video: this.activeVideo });
|
||||
this.setSubmitState({ pending: true, video: contextVideo });
|
||||
|
||||
const fieldValue = (key) => {
|
||||
const input = this.fields[key];
|
||||
|
||||
Reference in new issue
Block a user