Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
clive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
hive
clive
Commits
7a669dfb
Commit
7a669dfb
authored
1 year ago
by
Krzysztof Mochocki
Browse files
Options
Downloads
Patches
Plain Diff
Fix silent not updating data after moving to cart screen
parent
8691c4ee
No related branches found
No related tags found
3 merge requests
!186
V1.27.5.0 release
,
!174
RELEASE: 1
,
!117
Improve of testnet_node script with profile data pregeneration
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clive/__private/ui/operations/cart_based_screen/cart_overview.py
+3
-3
3 additions, 3 deletions
..._private/ui/operations/cart_based_screen/cart_overview.py
with
3 additions
and
3 deletions
clive/__private/ui/operations/cart_based_screen/cart_overview.py
+
3
−
3
View file @
7a669dfb
...
...
@@ -74,10 +74,10 @@ class CartOverview(CliveWidget):
def
on_mount
(
self
)
->
None
:
self
.
watch
(
self
.
app
.
world
,
"
profile_data
"
,
callback
=
self
.
__sync_cart_items
)
def
__sync_cart_items
(
self
,
_
:
ProfileData
)
->
None
:
self
.
__cart_items_container
.
query
(
CartItem
).
remove
()
async
def
__sync_cart_items
(
self
,
_
:
ProfileData
)
->
None
:
await
self
.
__cart_items_container
.
query
(
CartItem
).
remove
()
new_cart_items
=
self
.
__create_cart_items
()
self
.
__cart_items_container
.
mount
(
*
new_cart_items
)
await
self
.
__cart_items_container
.
mount
(
*
new_cart_items
)
@staticmethod
def
__get_rc
(
profile_data
:
ProfileData
)
->
str
:
...
...
This diff is collapsed.
Click to expand it.
Mateusz Żebrak
@mzebrak
mentioned in issue
#29 (closed)
·
1 year ago
mentioned in issue
#29 (closed)
mentioned in issue #29
Toggle commit list
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