mirror of
https://github.com/portainer/portainer.git
synced 2025-07-26 00:39:41 +02:00
removed unused function.
This commit is contained in:
parent
85eca81584
commit
f45edaaa76
1 changed files with 0 additions and 5 deletions
|
@ -38,7 +38,6 @@ class StackRedeployGitFormController {
|
||||||
this.onChangeRef = this.onChangeRef.bind(this);
|
this.onChangeRef = this.onChangeRef.bind(this);
|
||||||
this.onChangeAutoUpdate = this.onChangeAutoUpdate.bind(this);
|
this.onChangeAutoUpdate = this.onChangeAutoUpdate.bind(this);
|
||||||
this.onChangeEnvVar = this.onChangeEnvVar.bind(this);
|
this.onChangeEnvVar = this.onChangeEnvVar.bind(this);
|
||||||
this.handleEnvVarChange = this.handleEnvVarChange.bind(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buildAnalyticsProperties() {
|
buildAnalyticsProperties() {
|
||||||
|
@ -143,10 +142,6 @@ class StackRedeployGitFormController {
|
||||||
return this.state.inProgress || this.state.redeployInProgress;
|
return this.state.inProgress || this.state.redeployInProgress;
|
||||||
}
|
}
|
||||||
|
|
||||||
handleEnvVarChange(value) {
|
|
||||||
this.formValues.Env = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
isAutoUpdateChanged() {
|
isAutoUpdateChanged() {
|
||||||
const wasEnabled = !!(this.stack.AutoUpdate && (this.stack.AutoUpdate.Interval || this.stack.AutoUpdate.Webhook));
|
const wasEnabled = !!(this.stack.AutoUpdate && (this.stack.AutoUpdate.Interval || this.stack.AutoUpdate.Webhook));
|
||||||
const isEnabled = this.formValues.AutoUpdate.RepositoryAutomaticUpdates;
|
const isEnabled = this.formValues.AutoUpdate.RepositoryAutomaticUpdates;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue