diff --git a/Oqtane.Maui/wwwroot/js/interop.js b/Oqtane.Maui/wwwroot/js/interop.js index 719eb63e..191d9823 100644 --- a/Oqtane.Maui/wwwroot/js/interop.js +++ b/Oqtane.Maui/wwwroot/js/interop.js @@ -14,6 +14,9 @@ Oqtane.Interop = { } document.cookie = cookieString; }, + setCookieString: function (cookieString) { + document.cookie = cookieString; + }, getCookie: function (name) { name = name + "="; var decodedCookie = decodeURIComponent(document.cookie);