mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
fix lint
This commit is contained in:
parent
ef6a4c71ce
commit
19cf35698a
@ -19,12 +19,12 @@ export class BranchListingService {
|
||||
|
||||
/// A filter that can be applied to the branch listing
|
||||
export class BranchListingFilter {
|
||||
/// If the value is true, the listing will only include branches that have the same author as the current user.
|
||||
/// If the value is false, the listing will include only branches that are not created by the user.
|
||||
ownBranches?: boolean;
|
||||
/// If the value is true, the listing will only include branches that are applied in the workspace.
|
||||
/// If the value is false, the listing will only include branches that are not applied in the workspace.
|
||||
applied?: boolean;
|
||||
/// If the value is true, the listing will only include branches that have the same author as the current user.
|
||||
/// If the value is false, the listing will include only branches that are not created by the user.
|
||||
ownBranches?: boolean;
|
||||
/// If the value is true, the listing will only include branches that are applied in the workspace.
|
||||
/// If the value is false, the listing will only include branches that are not applied in the workspace.
|
||||
applied?: boolean;
|
||||
}
|
||||
|
||||
/// Represents a branch that exists for the repository
|
||||
|
@ -93,7 +93,7 @@ fn matches_all(branch: &BranchListing, filter: &Option<BranchListingFilter>) ->
|
||||
}
|
||||
return conditions.iter().all(|&x| x);
|
||||
} else {
|
||||
return true;
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user