fix: eslint errors and warnings (#8149)
This commit is contained in:
parent
83fdebf64d
commit
8307badae5
137 changed files with 97 additions and 216 deletions
|
|
@ -163,7 +163,7 @@ export class CycleIssues extends BaseIssuesStore implements ICycleIssues {
|
|||
if (cycleId) {
|
||||
this.rootIssueStore.rootStore.cycle.updateCycleDistribution(distributionUpdates, cycleId);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch (_e) {
|
||||
console.warn("could not update cycle statistics");
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -217,6 +217,7 @@ export class ProjectPageStore implements IProjectPageStore {
|
|||
const existingPage = this.getPageById(page.id);
|
||||
if (existingPage) {
|
||||
// If page already exists, update all fields except name
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { name, ...otherFields } = page;
|
||||
existingPage.mutateProperties(otherFields, false);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ export class ProjectViewStore implements IProjectViewStore {
|
|||
});
|
||||
return response;
|
||||
});
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
this.loader = false;
|
||||
return undefined;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue