Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
car_insurance
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Aleksandr Kirienko
car_insurance
Merge requests
!12
hide deactivated insurances
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
hide deactivated insurances
hide-deactivated
into
develop
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
Aleksandr Kirienko
requested to merge
hide-deactivated
into
develop
6 years ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
Created by: ZzDmitry
Fixes
#1 (closed)
(Проверять деактивацию страховок)
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
1e516826
1 commit,
2 years ago
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ui-frontend/formatter/formatter.js
+
3
−
0
Options
@@ -8,6 +8,9 @@ sap.ui.define([
function
findLastInsurance
(
insurances
)
{
return
insurances
.
reduce
(
function
(
lastInsurance
,
insurance
)
{
if
(
insurance
.
isManuallyDeactivated
)
{
return
lastInsurance
;
}
if
(
!
lastInsurance
)
{
return
insurance
;
}
Loading