Skip to content

Commit

Permalink
Update Author
Browse files Browse the repository at this point in the history
  • Loading branch information
IceOfWraith committed Aug 30, 2023
1 parent bbb9593 commit 0d74093
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class generatorViewModel {
this.Meta_DisplayName = ko.observable("");
this.Meta_Description = ko.observable("");
this.Meta_Arch = ko.observable("x86_64");
this.Meta_Author = ko.observable("");
this._Meta_Author = ko.observable("");
this.Meta_Author = ko.computed(() => self._Meta_Author() + ' - Made with AMP Config Generator');
this._Meta_GithubOrigin = ko.computed(() => 'https://github.com/' + self.Meta_Author() + '/AMPTemplates.git');
this._Meta_GithubURL = ko.computed(() => 'https://github.com/' + self.Meta_Author() + '/AMPTemplates');
this.Meta_URL = ko.observable("");
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h4 id="basicInfo">Basic Information</h4>
<div class="mb-3 col-6">
<label for="applicationAuthorField">Configuration Author</label>
<div class="form-text">Who are you? Take some credit for your work! Please use your GitHub username.</div>
<input type="text" class="form-control" id="applicationAuthorField" data-bind="value: Meta_Author" placeholder="CubeCoders">
<input type="text" class="form-control" id="applicationAuthorField" data-bind="value: _Meta_Author" placeholder="CubeCoders">
</div>
<div class="mb-3 col-6">
<label for="applicationURLField">Application URL</label>
Expand Down

0 comments on commit 0d74093

Please sign in to comment.