Skip to content

Commit

Permalink
renme redirect methods because sonarQube observations
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Aug 21, 2024
1 parent af1a050 commit 706c517
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ export default {
*/
// eslint-disable-next-line consistent-return
async getDestinationUrl() {
debugger;
const { elementDestination, allow_interstitial: allowInterstitial } = this.task || {};
if (!elementDestination) {
Expand Down Expand Up @@ -805,9 +806,10 @@ export default {
* @param {Object} data - The event data containing the tokenId of the task.
*/
handleRedirectToTask(data) {
if (data?.params[0]?.tokenId) {
this.loadingTask = true;
this.loadTask(data.params[0].tokenId);
// this.loadTask(data.params[0].tokenId);
this.taskId = data.params[0].tokenId;
this.reload();
}
Expand Down

0 comments on commit 706c517

Please sign in to comment.