[BasicUI] Fix build after a method renaming in core framework (#2557)

Related to openhab/openhab-core#3652 that renamed method setPageId into
updateSubscriptionLocation

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
pull/2558/head
lolodomo 2024-05-02 11:01:55 +02:00 committed by GitHub
parent 14a6c9e59d
commit 93f758b75b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ public class WebAppServlet extends HttpServlet {
// we are at the homepage, so we render the children of the sitemap root node
if (subscriptionId != null) {
if (subscriptions.exists(subscriptionId)) {
subscriptions.setPageId(subscriptionId, sitemap.getName(), sitemapName);
subscriptions.updateSubscriptionLocation(subscriptionId, sitemap.getName(), sitemapName);
} else {
logger.debug("Basic UI requested a non-existing event subscription id ({})", subscriptionId);
}
@ -185,7 +185,7 @@ public class WebAppServlet extends HttpServlet {
// we are on some subpage, so we have to render the children of the widget that has been selected
if (subscriptionId != null) {
if (subscriptions.exists(subscriptionId)) {
subscriptions.setPageId(subscriptionId, sitemap.getName(), widgetId);
subscriptions.updateSubscriptionLocation(subscriptionId, sitemap.getName(), widgetId);
} else {
logger.debug("Basic UI requested a non-existing event subscription id ({})", subscriptionId);
}