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
1 year ago
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset task identifier on duplicate identifier in a role
parent
9cfe12e3
verification
Unity
dynamic
traces
No related merge requests found
Changes
5
Show 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
...
...
@@ -240,6 +240,7 @@ export class AnnexeTaskComponent implements OnInit {
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/pieces/tasks/final-task/final-task.component.ts
View file @
f4aa56e2
...
...
@@ -242,6 +242,7 @@ export class FinalTaskComponent implements OnInit {
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/pieces/tasks/optionnal-task/optionnal-task.component.ts
View file @
f4aa56e2
...
...
@@ -259,6 +259,7 @@ export class OptionnalTaskComponent implements OnInit {
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/pieces/tasks/random-event/random-event.component.ts
View file @
f4aa56e2
...
...
@@ -237,6 +237,7 @@ export class RandomEventComponent implements OnInit {
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/pieces/tasks/task/task.component.ts
View file @
f4aa56e2
...
...
@@ -270,6 +270,7 @@ export class TaskComponent implements OnInit {
this
.
task
.
identifier
=
value
;
if
(
this
.
role
.
isAlreadyUsedIdentifier
(
this
.
task
.
identifier
))
{
this
.
_snackBar
.
openFromComponent
(
IdentifierSnackbarComponent
,
{
duration
:
5000
});
this
.
task
.
identifier
=
''
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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