t20-common-lib 0.10.3 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -315,7 +315,7 @@ export default {
|
|
|
315
315
|
methods: {
|
|
316
316
|
applyDefaultShortcut() {
|
|
317
317
|
const defaultKey = localStorage.getItem('t20-datepicker-default-shortcut')
|
|
318
|
-
if (defaultKey
|
|
318
|
+
if (defaultKey) {
|
|
319
319
|
const allShortcuts = getShortcutDefinitions()
|
|
320
320
|
const shortcut = allShortcuts[defaultKey]
|
|
321
321
|
if (shortcut) {
|