katalyst-content 0.2.2 → 1.0.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eaf7d4032f6cef16151da4336669dc0cde37f4dbab9baa83f7f0b0b33615ff3
|
4
|
+
data.tar.gz: 239fddb43c620128f8fb3a6d43b2f2b82d87af269582323829ec803032a17cca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3436a0659d9b72d8fc7fab7f74ddb663642172489d745ca2627e533d73ba179a8acbe02439ab892e42317466a465c1fe174ec3c7ed3daa96b9e7e70983842310
|
7
|
+
data.tar.gz: 5a8d0f30454e25c30f2dbeb07ff7608de177e0574ac7a6ea71c4b2012e71a88216f010d1a3c9e7a86569da00a57a45ca1b6c43f6408411faec17bc638a7c8d6f
|
@@ -42,7 +42,7 @@ export default class Item {
|
|
42
42
|
* @returns {number} logical nesting depth of node in container
|
43
43
|
*/
|
44
44
|
get depth() {
|
45
|
-
return parseInt(this.node.dataset[`contentDepth`]);
|
45
|
+
return parseInt(this.node.dataset[`contentDepth`]) || 0;
|
46
46
|
}
|
47
47
|
|
48
48
|
get #depthInput() {
|