Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 41ce652

Browse files
authored
Merge pull request #24 from qjon/develop
v3.1.1
2 parents b9e31e2 + b04e9e3 commit 41ce652

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ At the end do not forget to add this effects to your app.
270270

271271
## Changes
272272

273+
### v3.1.1
274+
* fix Item template error
275+
* update bootstrap to 4.1.3
276+
273277
### v3.1.0
274278
* change tree model initialize and injecting NodeService
275279
* add NestJS server with new _TreeTwoNodeBackendService_ angular service to show how Tree works with real backend (details in _Demo_ section)

config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rign/angular2-tree",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"license": "MIT",
55
"angular-cli": {},
66
"scripts": {
@@ -35,7 +35,7 @@
3535
"@ngrx/store": "^5.1.0",
3636
"@ngrx/store-devtools": "^4.0.0",
3737
"angular2-uuid": "^1.1.1",
38-
"bootstrap": "^3.3.7",
38+
"bootstrap": "^4.1.3",
3939
"core-js": "^2.4.1",
4040
"font-awesome": "^4.6.3",
4141
"ng2-dnd": "^2.2.2",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rign/angular2-tree",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"license": "MIT",
55
"angular-cli": {},
66
"scripts": {
@@ -49,7 +49,7 @@
4949
"@ngrx/store": "^5.1.0",
5050
"@ngrx/store-devtools": "^4.0.0",
5151
"angular2-uuid": "^1.1.1",
52-
"bootstrap": "^3.3.7",
52+
"bootstrap": "^4.1.3",
5353
"core-js": "^2.4.1",
5454
"font-awesome": "^4.6.3",
5555
"lodash.isequal": "^4.5.0",

src/item/item.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="tree-item"
2-
[ngClass]="{'tree-item-selected': isSelected && !wasPreviouslySelected}"
2+
[ngClass]="{'tree-item-selected': isSelected && !treeModel.wasPreviouslySelected(node.id)}"
33
(contextmenu)="onContextMenu($event)"
44
riDroppable
55
riDraggable

src/tree.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="tree">
2-
<button *ngIf="treeModel.configuration.showAddButton" class="btn btn-default add-node-button" (click)="onAdd()">
2+
<button *ngIf="treeModel.configuration.showAddButton" class="btn btn-dark add-node-button" (click)="onAdd()">
33
<i class="fa fa-plus"></i> {{'RI_TREE_LBL_ADD_NODE' | translate}}
44
</button>
55
<!--@formatter:off-->

0 commit comments

Comments
 (0)