Browse Source

fix linting (whitespace only)

0.5.8
Trent Larson 2 weeks ago
parent
commit
3118f71320
  1. 8
      src/views/DeepLinkRedirectView.vue

8
src/views/DeepLinkRedirectView.vue

@ -122,10 +122,10 @@ export default class DeepLinkRedirectView extends Vue {
// If pathParam is an array (catch-all parameter), join it // If pathParam is an array (catch-all parameter), join it
const fullPath = Array.isArray(pathParam) ? pathParam.join("/") : pathParam; const fullPath = Array.isArray(pathParam) ? pathParam.join("/") : pathParam;
// Get query parameters from the route // Get query parameters from the route
const queryParams = this.$route.query; const queryParams = this.$route.query;
// Build query string if there are query parameters // Build query string if there are query parameters
let queryString = ""; let queryString = "";
if (Object.keys(queryParams).length > 0) { if (Object.keys(queryParams).length > 0) {
@ -140,10 +140,10 @@ export default class DeepLinkRedirectView extends Vue {
}); });
queryString = "?" + searchParams.toString(); queryString = "?" + searchParams.toString();
} }
// Combine path with query parameters // Combine path with query parameters
const fullPathWithQuery = fullPath + queryString; const fullPathWithQuery = fullPath + queryString;
this.destinationUrl = fullPathWithQuery; this.destinationUrl = fullPathWithQuery;
this.deepLinkUrl = `timesafari://${fullPathWithQuery}`; this.deepLinkUrl = `timesafari://${fullPathWithQuery}`;
this.webUrl = `${APP_SERVER}/${fullPathWithQuery}`; this.webUrl = `${APP_SERVER}/${fullPathWithQuery}`;

Loading…
Cancel
Save