Skip to content

Commit

Permalink
pkp/pkp-lib#7495 clean up debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Oct 2, 2024
1 parent 32fb72d commit d2d2176
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/managers/ParticipantManager/participantManagerStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const useParticipantManagerStore = defineComponentStore(
const submissionId = ref(props.submission.id);

const relativeUrl = computed(() => {
console.log('stuff changed participants');
return `submissions/${encodeURIComponent(submissionId.value)}/participants/${props.submissionStageId}`;
});

Expand Down Expand Up @@ -58,7 +57,6 @@ export const useParticipantManagerStore = defineComponentStore(
});
});

console.log(list);
list.sort((participantA, participantB) => {
// First, compare by roleId
if (participantA.roleId !== participantB.roleId) {
Expand Down
7 changes: 0 additions & 7 deletions src/pages/dashboard/dashboardPageStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export const useDashboardPageStore = defineComponentStore(
* Search Phrase
*/
const searchPhrase = computed(() => {
console.log('search phrase computed:', queryParamsUrl.searchPhrase);
return queryParamsUrl.searchPhrase || '';
});
function setSearchPhrase(value) {
Expand Down Expand Up @@ -150,17 +149,11 @@ export const useDashboardPageStore = defineComponentStore(
} = useFiltersForm(filtersForm);

watch(filtersFormQueryParams, (paramsToApply) => {
console.log('paramsToApply:', paramsToApply);
Object.keys(paramsToApply).forEach((paramKey) => {
if (
JSON.stringify(queryParamsUrl[paramKey]) !==
JSON.stringify(paramsToApply[paramKey])
) {
console.log(
'updating query params url:',
JSON.stringify(queryParamsUrl[paramKey]),
JSON.stringify(paramsToApply[paramKey]),
);
queryParamsUrl[paramKey] = paramsToApply[paramKey];
}
});
Expand Down

0 comments on commit d2d2176

Please sign in to comment.