fixed getSelectedproduct and website
This commit is contained in:
@@ -38,7 +38,7 @@ class User{
|
||||
* @returns {Website}
|
||||
*/
|
||||
getSelectedWebsite(){
|
||||
return this.websites.selectedData;
|
||||
return this.getWebsite(this.websites.selectedData);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ class Website {
|
||||
*/
|
||||
getSelectedProduct()
|
||||
{
|
||||
return this.products.selectedData;
|
||||
return this.getProduct(this.products.selectedData);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user