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