minor bug fix
This commit is contained in:
parent
81eb327967
commit
691f944988
@ -1107,7 +1107,7 @@
|
||||
|
||||
if (!document.querySelector(`#${pageId}`)?.classList.contains('inner-page')) return
|
||||
try {
|
||||
if (floDapps.user.id && (['sign_up', 'sign_in', 'loading', 'landing'].includes(pageId))) {
|
||||
if (floDapps.user.id && (generalPages.includes(pageId))) {
|
||||
history.replaceState(null, null, '#/dashboard_page');
|
||||
pageId = 'dashboard_page'
|
||||
}
|
||||
|
||||
@ -284,6 +284,7 @@
|
||||
Admin.unassignInternFromTask = function (floID, taskKey) {
|
||||
if (_.internsAssigned[taskKey] && _.internsAssigned[taskKey].includes(floID)) {
|
||||
_.internsAssigned[taskKey] = _.internsAssigned[taskKey].filter(id => id !== floID)
|
||||
delete _.internRecord[floID].assignedTasks[taskKey]
|
||||
return true
|
||||
} else
|
||||
return false
|
||||
|
||||
2
scripts/ribc.min.js
vendored
2
scripts/ribc.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user