Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RLG Maker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Romain DELEAU
RLG Maker
Commits
f4aa56e2
Commit
f4aa56e2
authored
Sep 15, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset task identifier on duplicate identifier in a role
parent
9cfe12e3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
annexe-task.component.ts
src/app/pieces/tasks/annexe-task/annexe-task.component.ts
+2
-1
final-task.component.ts
src/app/pieces/tasks/final-task/final-task.component.ts
+2
-1
optionnal-task.component.ts
...p/pieces/tasks/optionnal-task/optionnal-task.component.ts
+2
-1
random-event.component.ts
src/app/pieces/tasks/random-event/random-event.component.ts
+2
-1
task.component.ts
src/app/pieces/tasks/task/task.component.ts
+2
-1
No files found.
src/app/pieces/tasks/annexe-task/annexe-task.component.ts
View file @
f4aa56e2
...
...
@@ -239,7 +239,8 @@ export class AnnexeTaskComponent implements OnInit {
}
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
src/app/pieces/tasks/final-task/final-task.component.ts
View file @
f4aa56e2
...
...
@@ -241,7 +241,8 @@ export class FinalTaskComponent implements OnInit {
}
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
src/app/pieces/tasks/optionnal-task/optionnal-task.component.ts
View file @
f4aa56e2
...
...
@@ -258,7 +258,8 @@ export class OptionnalTaskComponent implements OnInit {
}
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
src/app/pieces/tasks/random-event/random-event.component.ts
View file @
f4aa56e2
...
...
@@ -236,7 +236,8 @@ export class RandomEventComponent implements OnInit {
}
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
src/app/pieces/tasks/task/task.component.ts
View file @
f4aa56e2
...
...
@@ -269,7 +269,8 @@ export class TaskComponent implements OnInit {
}
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment