File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 163
163
<label id="default-project-board-content"></label>
164
164
</div>
165
165
<div class="text right actions">
166
- <button class="ui cancel button">{{$.locale.Tr "settings.cancel"}}</button>
167
- <button class="ui primary button default-project-board-button" id="default-project-board-submit"></button>
166
+ <button class="ui red cancel button">{{$.locale.Tr "settings.cancel"}}</button>
167
+ <button class="ui green ok button default-project-board-button" id="default-project-board-submit"></button>
168
168
</div>
169
169
</div>
170
170
Original file line number Diff line number Diff line change @@ -131,11 +131,6 @@ export function initRepoProject() {
131
131
const showButton = $ ( boardColumn ) . find ( '.default-project-board-show' ) ;
132
132
const commitButton = $ ( this ) . find ( '.default-project-board-button' ) ;
133
133
134
- if ( $ ( showButton ) . data ( 'type' ) === 'unset_default' ) {
135
- $ ( commitButton ) . removeClass ( 'primary' ) ;
136
- $ ( commitButton ) . addClass ( 'red' ) ;
137
- }
138
-
139
134
$ ( commitButton ) . on ( 'click' , ( e ) => {
140
135
e . preventDefault ( ) ;
141
136
You can’t perform that action at this time.
0 commit comments