2022-05-25 12:26:23 +03:00
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
Copyright © 2016-2022 The Thingsboard Authors
|
|
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
|
|
|
|
|
-->
|
2022-05-31 16:16:24 +03:00
|
|
|
<tb-repository-settings #repositorySettingsComponent [detailsMode]="detailsMode"
|
|
|
|
|
*ngIf="!(hasRepository$ | async); else versionsTable">
|
|
|
|
|
</tb-repository-settings>
|
2022-05-25 12:26:23 +03:00
|
|
|
<ng-template #versionsTable>
|
|
|
|
|
<tb-entity-versions-table [singleEntityMode]="singleEntityMode"
|
|
|
|
|
[active]="active"
|
2022-05-25 20:05:59 +03:00
|
|
|
[entityId]="entityId"
|
2022-06-01 13:10:32 +03:00
|
|
|
[entityName]="entityName"
|
2022-05-26 13:50:50 +03:00
|
|
|
[externalEntityId]="externalEntityId"
|
|
|
|
|
(versionRestored)="versionRestored.emit()"></tb-entity-versions-table>
|
2022-05-25 12:26:23 +03:00
|
|
|
</ng-template>
|