fix price checking

This commit is contained in:
Setyo Nugroho 2022-08-05 01:37:41 +07:00
parent 27627853d1
commit 5c57adf60d
2 changed files with 3 additions and 2 deletions

View file

@ -28,6 +28,6 @@ class SettingUseCase:
context['has_missing'] = True
return context
context['has_missing'] = True
context['has_missing'] = False
return context

View file

@ -2,6 +2,7 @@ from openstack_dashboard.dashboards.yuyu.cases.flavor_price_use_case import Flav
from openstack_dashboard.dashboards.yuyu.cases.floating_ip_price_use_case import FloatingIpPriceUseCase
from openstack_dashboard.dashboards.yuyu.cases.image_price_use_case import ImagePriceUseCase
from openstack_dashboard.dashboards.yuyu.cases.router_price_use_case import RouterPriceUseCase
from openstack_dashboard.dashboards.yuyu.cases.snapshot_price_use_case import SnapshotPriceUseCase
from openstack_dashboard.dashboards.yuyu.cases.volume_price_use_case import VolumePriceUseCase
@ -10,7 +11,7 @@ def has_missing_price(request):
volume_price_uc = VolumePriceUseCase()
fip_price_uc = FloatingIpPriceUseCase()
router_price_uc = RouterPriceUseCase()
snapshot_price_uc = RouterPriceUseCase()
snapshot_price_uc = SnapshotPriceUseCase()
image_price_uc = ImagePriceUseCase()
context = {