Skip to content

Commit

Permalink
Merge pull request #76 from uatisdeproblem/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
uatisdeproblem committed Jan 28, 2024
2 parents e415899 + d9e3836 commit 98232f6
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions back-end/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion back-end/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.8.2",
"version": "1.8.3",
"name": "back-end",
"scripts": {
"lint": "eslint --ext .ts",
Expand Down
2 changes: 1 addition & 1 deletion back-end/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.3

info:
title: ESN Assembly app
version: 1.8.2
version: 1.8.3
contact:
name: Matteo Carbone
email: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions front-end/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front-end/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esn-assembly",
"version": "1.8.2",
"version": "1.8.3",
"author": "Matteo Carbone",
"homepage": "https://matteocarbone.com/",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions front-end/src/app/tabs/voting/ballots/ballots.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,7 @@ export class BallotsStandaloneComponent implements OnChanges, OnDestroy {
}

handleBallotReorder({ detail }): void {
const toReposition = this.votingSession.ballots.splice(detail.from, 1)[0];
this.votingSession.ballots.splice(detail.to, 0, toReposition);
detail.complete();
this.votingSession.ballots = detail.complete(this.votingSession.ballots);
}

buildCharts(): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ export class ManageBallotStandaloneComponent implements OnInit {
this.ballot.options.push('');
}
handleOptionsReorder({ detail }): void {
const toReposition = this.ballot.options.splice(detail.from, 1)[0];
this.ballot.options.splice(detail.to, 0, toReposition);
detail.complete();
this.ballot.options = detail.complete(this.ballot.options);
}
removeOptionByIndex(index: number): void {
this.ballot.options.splice(index, 1);
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/environments/environment.idea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const STAGE = 'prod';
*/
export const environment = {
idea: {
app: { version: '1.8.2', mediaUrl: 'https://'.concat(parameters.mediaDomain), maxFileUploadSizeMB: 50 },
app: { version: '1.8.3', mediaUrl: 'https://'.concat(parameters.mediaDomain), maxFileUploadSizeMB: 50 },
api: { url: parameters.apiDomain, stage: STAGE },
socket: { url: parameters.webSocketApiDomain, stage: STAGE },
ionicExtraModules: ['common']
Expand Down

0 comments on commit 98232f6

Please sign in to comment.