Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-29 20:20:29 +01:00
add console log and debugging line to debug
Dieser Commit ist enthalten in:
Ursprung
ebc0f706e3
Commit
00f5097da1
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -22,7 +22,8 @@ export default {
|
||||||
withPluginApi("0.8.36", (api) => {
|
withPluginApi("0.8.36", (api) => {
|
||||||
api.onAppEvent("page:changed", (data) => {
|
api.onAppEvent("page:changed", (data) => {
|
||||||
const currentUser = api.getCurrentUser();
|
const currentUser = api.getCurrentUser();
|
||||||
|
console.log(data);
|
||||||
|
debugger;
|
||||||
if (currentUser) {
|
if (currentUser) {
|
||||||
const redirectToWizard = currentUser.redirect_to_wizard;
|
const redirectToWizard = currentUser.redirect_to_wizard;
|
||||||
const excludedPaths = siteSettings.wizard_redirect_exclude_paths
|
const excludedPaths = siteSettings.wizard_redirect_exclude_paths
|
||||||
|
|
Laden …
In neuem Issue referenzieren