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
Commits
21bd5924
Commit
21bd5924
authored
2 years ago
by
Tobias Kuhnert
Browse files
Options
Downloads
Patches
Plain Diff
updated - added missing feature
parent
52891fa0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!296
Merge develop for staging release
,
!225
Draft: Resolve "[Refactoring] Improve vuex store usage"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pages/configurations/index.vue
+15
-6
15 additions, 6 deletions
pages/configurations/index.vue
pages/devices/index.vue
+1
-1
1 addition, 1 deletion
pages/devices/index.vue
with
16 additions
and
7 deletions
pages/configurations/index.vue
+
15
−
6
View file @
21bd5924
...
...
@@ -201,20 +201,19 @@ permissions and limitations under the Licence.
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
'
nuxt-property-decorator
'
import
{
Configuration
}
from
'
@/models/Configuration
'
import
BaseList
from
'
@/components/shared/BaseList.vue
'
import
ConfigurationsListItem
from
'
@/components/configurations/ConfigurationsListItem.vue
'
import
{
mapActions
,
mapState
}
from
'
vuex
'
import
{
ConfigurationSearchParamsSerializer
,
IConfigurationSearchParams
}
from
'
@/modelUtils/ConfigurationSearchParams
'
import
ConfigurationsDeleteDialog
from
'
@/components/configurations/ConfigurationsDeleteDialog.vue
'
import
DotMenuActionDelete
from
'
@/components/DotMenuActionDelete.vue
'
import
{
Project
}
from
'
@/models/Project
'
import
StringSelect
from
'
@/components/StringSelect.vue
'
import
ProjectSelect
from
'
@/components/ProjectSelect.vue
'
import
{
PlatformSearchParamsSerializer
}
from
'
@/modelUtils/PlatformSearchParams
'
import
{
QueryParams
}
from
'
@/modelUtils/QueryParams
'
import
{
Configuration
}
from
'
@/models/Configuration
'
import
{
Project
}
from
'
@/models/Project
'
import
{
ConfigurationSearchParamsSerializer
,
IConfigurationSearchParams
}
from
'
@/modelUtils/ConfigurationSearchParams
'
import
{
QueryParams
}
from
'
@/modelUtils/QueryParams
'
import
{
mapActions
,
mapState
}
from
'
vuex
'
@
Component
({
components
:
{
ProjectSelect
,
...
...
@@ -415,4 +414,14 @@ export default class SearchConfigurationsPage extends Vue {
<
style
lang=
"scss"
>
@import
"@/assets/styles/_search.scss"
;
.progress-spinner
{
position
:
absolute
;
top
:
40vh
;
left
:
0
;
right
:
0
;
margin-left
:
auto
;
margin-right
:
auto
;
width
:
32px
;
z-index
:
99
;
}
</
style
>
This diff is collapsed.
Click to expand it.
pages/devices/index.vue
+
1
−
1
View file @
21bd5924
...
...
@@ -449,8 +449,8 @@ export default class SearchDevicesPage extends Vue {
if
(
this
.
deviceToDelete
===
null
||
this
.
deviceToDelete
.
id
===
null
)
{
return
}
this
.
loading
=
true
try
{
this
.
loading
=
true
await
this
.
deleteDevice
(
this
.
deviceToDelete
.
id
)
this
.
runSearch
()
this
.
$store
.
commit
(
'
snackbar/setSuccess
'
,
'
Device deleted
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment