Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
2ond solution for #227
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvJalb committed Dec 20, 2021
1 parent 4be85a2 commit d961fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<td class="td-del" data-toggle="modal" data-target="#deleteSourceModal"(click)="openDeleteModal(w_srcs)"><i class="fas fa-trash"></i></td>
<td style="display: none;">{{ w_srcs._id }}</td>
</tr>
<tr href="#" class="tr-add clickable" data-toggle="modal" data-target="#newSourceModal" (click)="reset()">
<tr class="clickable" (click)="reset()">
<td colspan="7">
<i class="fas fa-plus-circle td-more" style="font-size: 18px; color:green; margin-right: 20px;"></i>
<span>{{ 'WEATHER.CONFIG.ADD_NEW_SOURCE' | translate }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export class WeatherConfigComponent implements OnInit {
}

reset(){
$("#newSourceModal").modal("show");
this.edit = false;

this.wS = {
Expand Down

0 comments on commit d961fd4

Please sign in to comment.