Bouton "Toujours supprimer"

Label et icône plus clairs
This commit is contained in:
Vincent Vandemeulebrouck 2022-10-04 23:45:14 +02:00
parent 3c86e1b97c
commit 4443548b0e

View File

@ -1,3 +1,4 @@
import { Grammar } from "./grammar.js";
import { ReglesOptionelles } from "./regles-optionelles.js";
export class RdDConfirm {
@ -43,8 +44,8 @@ export class RdDConfirm {
static _createButtonActionSave(options) {
return {
"actionSave": {
icon: '<i class="far fa-save"></i>',
label: options.buttonLabel + "<br>(Ne plus demander)",
icon: '<i class="fas fa-user-check"></i>',
label: "Toujours "+ options.buttonLabel.toLowerCase(),
callback: () => {
ReglesOptionelles.set(options.settingConfirmer, false);
options.onAction();