Skip to content

Commit

Permalink
REMOVED: Unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
djuarezgf committed Jan 20, 2025
1 parent f075d9c commit ce0b946
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/ProjectFieldRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class ProjectFieldRow extends Vue {
@Prop() readonly fieldValue!: string[];
@Prop() readonly projectManagerBackendService!: ProjectManagerBackendService;
@Prop() readonly context!: ProjectManagerContext;
@Prop({default: null}) readonly redirectUrl!: string | null;
@Prop() readonly redirectUrl?: string | null;
@Prop() readonly possibleValues!: string[];
@Prop() readonly configurations?: Map<string, Project>;
@Prop() readonly isEditable!: boolean;
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ app.use(store);
export const bootstrap = async () => {
return new Promise((resolve) => {
const onAuthenticatedCallback = () => {
console.log('Authenticated!');
resolve(vueLifecycles.bootstrap);
};

Expand Down
4 changes: 1 addition & 3 deletions src/services/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ const refreshToken = () => {
keycloakInstance
.updateToken()
.then((refreshed) => {
if (refreshed) {
console.log('Token refreshed');
} else {
if (!refreshed) {
console.log('Token not refreshed, or the token is still valid');
}
})
Expand Down
5 changes: 5 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ module.exports = {
output: {
libraryTarget: "system",
},
plugins: [
new (require('webpack')).DefinePlugin({
'__VUE_PROD_HYDRATION_MISMATCH_DETAILS__': 'false', // Set the flag globally to avoid hydration mismatch details
}),
],
},
chainWebpack: (config) => {
if (config.plugins.has("SystemJSPublicPathWebpackPlugin")) {
Expand Down

0 comments on commit ce0b946

Please sign in to comment.