Skip to content

Commit

Permalink
formatting and remove useless lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel7373 committed Jan 23, 2025
1 parent 38800ad commit 2f644dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions backend/src/main/java/ch/puzzle/okr/dto/ObjectiveDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import ch.puzzle.okr.models.State;
import java.time.LocalDateTime;

public record ObjectiveDto(Long id, int version, String title, Long teamId, Long quarterId, String quarterLabel, boolean isBacklogQuarter,
String description, State state, LocalDateTime createdOn, LocalDateTime modifiedOn, boolean isWriteable) {
public record ObjectiveDto(Long id, int version, String title, Long teamId, Long quarterId, String quarterLabel,
boolean isBacklogQuarter, String description, State state, LocalDateTime createdOn, LocalDateTime modifiedOn,
boolean isWriteable) {
}
1 change: 0 additions & 1 deletion frontend/src/app/interceptors/error.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class ErrorInterceptor implements HttpInterceptor {
}

let messageKey = successMessageObj.key;
console.log(response.body);
const isBacklogQuarter = response.body?.isBacklogQuarter;
if (messageKey == 'OBJECTIVE.POST' && isBacklogQuarter) {
messageKey += '_BACKLOG';
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/app/shared/constant-library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export const DATE_FORMAT = 'dd.MM.yyyy';
export const DRAWER_ROUTES = ['objective',
'keyresult'];

export const GJ_REGEX_PATTERN = /^GJ \d{2}\/\d{2}-Q\d$/;

export const SUCCESS_MESSAGE_MAP: MessageKeyMap = {
teams: {
KEY: 'TEAM',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/shared/types/model/objective.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface Objective {
teamId: number;
quarterId: number;
quarterLabel: string;
isBacklogQuarter: boolean;
createdOn?: Date;
modifiedOn?: Date;
createdBy?: User;
Expand Down

0 comments on commit 2f644dd

Please sign in to comment.