mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-11 01:28:57 +02:00
fix dashboard show test campaigns
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
2a2ffb898b
commit
d0fe755b8a
2 files changed
+28
-21
No files matched your search
@@ -60,6 +60,7 @@ const appendQuery = (query) => {
|
||||
const sortBy = query.sortBy || '';
|
||||
const sortOrder = query.sortOrder || '';
|
||||
const search = query.search || '';
|
||||
const includeTest = query.includeTest;
|
||||
|
||||
const offset = getOffset(currentPage, perPage);
|
||||
|
||||
@@ -77,6 +78,9 @@ const appendQuery = (query) => {
|
||||
if (search) {
|
||||
urlQuery += `&search=${search}`;
|
||||
}
|
||||
if (includeTest) {
|
||||
urlQuery += `&includeTest=true`;
|
||||
}
|
||||
|
||||
return urlQuery;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user