mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Run lintfix (no-changelog) (#7537)
- Fix autofixable violations - Remove unused directives - Allow for PascalCased variables - needed for dynamically imported or assigned classes, decorators, routers, etc.
This commit is contained in:
@@ -221,9 +221,7 @@ export default defineComponent({
|
||||
return (
|
||||
[
|
||||
{
|
||||
...(this.workflow && this.workflow.ownedBy
|
||||
? this.workflow.ownedBy
|
||||
: this.usersStore.currentUser),
|
||||
...(this.workflow?.ownedBy ? this.workflow.ownedBy : this.usersStore.currentUser),
|
||||
isOwner: true,
|
||||
},
|
||||
] as Array<Partial<IUser>>
|
||||
@@ -357,8 +355,8 @@ export default defineComponent({
|
||||
(workflowSharee) => workflowSharee.id === sharee.id,
|
||||
);
|
||||
}) &&
|
||||
!this.workflow.sharedWith!.find(
|
||||
(workflowSharee) => workflowSharee.id === credential.ownedBy!.id,
|
||||
!this.workflow.sharedWith.find(
|
||||
(workflowSharee) => workflowSharee.id === credential.ownedBy.id,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user