define(["components/favoriteitems"],function(favoriteItems){"use strict";return function(view,params){view.addEventListener("viewshow",function(e){var isRestored=e.detail.isRestored;if(!isRestored){var parentId=null;favoriteItems.render(view,Dashboard.getCurrentUserId(),parentId)}})}});