mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 01:39:39 +02:00
added question marks to k8s app confirmation modal
This commit is contained in:
parent
8449f895e9
commit
c809a5dbf2
2 changed files with 3 additions and 2 deletions
|
@ -155,7 +155,7 @@ class KubernetesCreateApplicationController {
|
||||||
try {
|
try {
|
||||||
const confirmed = await this.ModalService.confirmAsync({
|
const confirmed = await this.ModalService.confirmAsync({
|
||||||
title: 'Are you sure?',
|
title: 'Are you sure?',
|
||||||
message: 'Any changes to this application will be overriden and may cause a service interruption. Do you wish to continue',
|
message: 'Any changes to this application will be overriden and may cause a service interruption. Do you wish to continue?',
|
||||||
buttons: {
|
buttons: {
|
||||||
confirm: {
|
confirm: {
|
||||||
label: 'Update',
|
label: 'Update',
|
||||||
|
|
|
@ -41,7 +41,7 @@ class KubernetesAppGitFormController {
|
||||||
try {
|
try {
|
||||||
const confirmed = await this.ModalService.confirmAsync({
|
const confirmed = await this.ModalService.confirmAsync({
|
||||||
title: 'Are you sure?',
|
title: 'Are you sure?',
|
||||||
message: 'Any changes to this application will be overriden by the definition in git and may cause a service interruption. Do you wish to continue',
|
message: 'Any changes to this application will be overriden by the definition in git and may cause a service interruption. Do you wish to continue?',
|
||||||
buttons: {
|
buttons: {
|
||||||
confirm: {
|
confirm: {
|
||||||
label: 'Update',
|
label: 'Update',
|
||||||
|
@ -83,6 +83,7 @@ class KubernetesAppGitFormController {
|
||||||
}
|
}
|
||||||
|
|
||||||
$onInit() {
|
$onInit() {
|
||||||
|
console.log(this);
|
||||||
this.formValues.RefName = this.stack.GitConfig.ReferenceName;
|
this.formValues.RefName = this.stack.GitConfig.ReferenceName;
|
||||||
if (this.stack.GitConfig && this.stack.GitConfig.Authentication) {
|
if (this.stack.GitConfig && this.stack.GitConfig.Authentication) {
|
||||||
this.formValues.RepositoryUsername = this.stack.GitConfig.Authentication.Username;
|
this.formValues.RepositoryUsername = this.stack.GitConfig.Authentication.Username;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue