Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUB Terra
SMS
Frontend
Merge requests
!225
Draft: Resolve "[Refactoring] Improve vuex store usage"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: Resolve "[Refactoring] Improve vuex store usage"
253-refactoring-improve-vuex-store-usage
into
master
Overview
1
Commits
230
Pipelines
0
Changes
1
Closed
Tobias Kuhnert
requested to merge
253-refactoring-improve-vuex-store-usage
into
master
2 years ago
Overview
1
Commits
230
Pipelines
0
Changes
1
Expand
Closes
#253 (closed)
0
0
Merge request reports
Viewing commit
37db7971
Show latest version
1 file
+
1
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
37db7971
removed unused imports
· 37db7971
Tobias Kuhnert
authored
2 years ago
pages/contacts/index.vue
+
1
−
11
Options
@@ -143,32 +143,22 @@ permissions and limitations under the Licence.
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
'
nuxt-property-decorator
'
import
{
IPaginationLoader
}
from
'
@/utils/PaginatedLoader
'
import
{
mapState
,
mapActions
}
from
'
vuex
'
;
import
{
Contact
}
from
'
@/models/Contact
'
import
DotMenu
from
'
@/components/DotMenu.vue
'
import
DotMenuActionDelete
from
'
@/components/DotMenuActionDelete.vue
'
import
ContacsDeleteDialog
from
'
@/components/contacts/ContacsDeleteDialog.vue
'
import
{
QueryParams
}
from
'
@/modelUtils/QueryParams
'
import
{
IContactSearchParams
,
ContactSearchParamsSerializer
}
from
'
@/modelUtils/ContactSearchParams
'
import
BaseList
from
'
@/components/shared/BaseList.vue
'
import
ContactsListItem
from
'
@/components/contacts/ContactsListItem.vue
'
type
PaginatedResult
=
{
[
page
:
number
]:
Contact
[]
}
@
Component
({
components
:
{
ContactsListItem
,
BaseList
,
ContacsDeleteDialog
,
DotMenuActionDelete
,
DotMenu
DotMenuActionDelete
},
computed
:
mapState
(
'
contacts
'
,[
'
pageNumber
'
,
'
pageSize
'
,
'
totalPages
'
,
'
contacts
'
]),
methods
:{
Loading