This commit is contained in:
Kiril Videlov 2024-07-27 11:32:55 +02:00
parent ef6a4c71ce
commit 19cf35698a
No known key found for this signature in database
GPG Key ID: A4C733025427C471
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -93,7 +93,7 @@ fn matches_all(branch: &BranchListing, filter: &Option<BranchListingFilter>) ->
}
return conditions.iter().all(|&x| x);
} else {
return true;
true
}
}