disabled deletion of merge rels

This commit is contained in:
Michele Artini 2022-09-15 09:47:38 +02:00
parent d5a754ffee
commit 373275063a
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@
<a href="#!/edit/0/{{r.relatedOrgId}}" title="{{r.relatedOrgId}}">{{r.relatedOrgName}}</a>
</td>
<td class="text-right">
<button type="button" class="btn btn-sm btn-outline-danger" ng-click="org.relations.splice($index, 1)"><i class="fa fa-trash"></i></button>
<button type="button" class="btn btn-sm btn-outline-danger" ng-click="org.relations.splice($index, 1)" ng-disabled="r.type == 'Merges' || r.type == 'Merged_In'"><i class="fa fa-trash"></i></button>
</td>
</tr>
</tbody>