bastion 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7729db238b36593ee32fbb0c4292d496ec25a99e
|
4
|
+
data.tar.gz: 96f7b052e48d8b040dd4295b6c05d7df6c3e0023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cde5fb451f1ffcd5b3e10d5a38150ae92377adc37f15a22317d9f45c61bed2f4a6d65e23ab82dd3a365c93b4a558936a5731092fc377609baaab3e051322c941
|
7
|
+
data.tar.gz: 9c8206065bef6a78f548009b07f6af768d097bf30e86b113b297a1962528e515e7088c493d621f04b6929fefb3802f583a6d879eb558f01d1c3f972db96e57b8
|
@@ -30,6 +30,18 @@
|
|
30
30
|
scope.table = TableCache.getTable(getTableName(listUrl));
|
31
31
|
}
|
32
32
|
|
33
|
+
scope.showSwitcher = function () {
|
34
|
+
var tableHasRows, isNewPage;
|
35
|
+
|
36
|
+
// Must have at least two items to switch between them
|
37
|
+
tableHasRows = scope.table && scope.table.rows.length > 1;
|
38
|
+
|
39
|
+
// Don't show the switcher when creating a new product
|
40
|
+
isNewPage = /new$/.test($location.path());
|
41
|
+
|
42
|
+
return tableHasRows && !isNewPage;
|
43
|
+
};
|
44
|
+
|
33
45
|
scope.changeResource = function (id) {
|
34
46
|
var currentUrl, nextUrl;
|
35
47
|
currentUrl = $location.path();
|
data/lib/bastion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bastion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric D Helms
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-09
|
12
|
+
date: 2017-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: angular-rails-templates
|