fixed getSelectedproduct and website

This commit is contained in:
Mohammed Ashab Uddin
2020-08-05 12:07:40 +04:00
parent 678da0d8cf
commit 8870677027
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ class User{
* @returns {Website} * @returns {Website}
*/ */
getSelectedWebsite(){ getSelectedWebsite(){
return this.websites.selectedData; return this.getWebsite(this.websites.selectedData);
} }
} }

View File

@@ -63,7 +63,7 @@ class Website {
*/ */
getSelectedProduct() getSelectedProduct()
{ {
return this.products.selectedData; return this.getProduct(this.products.selectedData);
} }