typeDeChampIdValue -> typeDeChampStableIdValue
This commit is contained in:
parent
5ebaf59fdb
commit
7b02fa9353
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent
|
|||
type_de_champ_editor_move_url_value: move_admin_procedure_type_de_champ_path(procedure, type_de_champ.stable_id),
|
||||
type_de_champ_editor_move_up_url_value: move_up_admin_procedure_type_de_champ_path(procedure, type_de_champ.stable_id),
|
||||
type_de_champ_editor_move_down_url_value: move_down_admin_procedure_type_de_champ_path(procedure, type_de_champ.stable_id),
|
||||
type_de_champ_editor_type_de_champ_id_value: coordinate.stable_id
|
||||
type_de_champ_editor_type_de_champ_stable_id_value: type_de_champ.stable_id
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
|
@ -7,7 +7,7 @@ import { ApplicationController } from './application_controller';
|
|||
|
||||
export class TypeDeChampEditorController extends ApplicationController {
|
||||
static values = {
|
||||
typeDeChampId: String,
|
||||
typeDeChampStableId: String,
|
||||
moveUrl: String,
|
||||
moveUpUrl: String,
|
||||
moveDownUrl: String
|
||||
|
@ -16,7 +16,7 @@ export class TypeDeChampEditorController extends ApplicationController {
|
|||
declare readonly moveUrlValue: string;
|
||||
declare readonly moveUpUrlValue: string;
|
||||
declare readonly moveDownUrlValue: string;
|
||||
declare readonly typeDeChampIdValue: string;
|
||||
declare readonly typeDeChampStableIdValue: string;
|
||||
declare readonly isVisible: boolean;
|
||||
|
||||
#latestPromise = Promise.resolve();
|
||||
|
@ -142,7 +142,7 @@ export class TypeDeChampEditorController extends ApplicationController {
|
|||
`${selector} ${AFTER_STABLE_ID_INPUT_SELECTOR}`
|
||||
);
|
||||
if (input) {
|
||||
input.value = this.typeDeChampIdValue;
|
||||
input.value = this.typeDeChampStableIdValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue