rails_admin_image_manager 0.1.29 → 0.1.30

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8883e2f7175eca0e4f46d94efa107aa9bff4e289
4
- data.tar.gz: 36294e878c94e59a8993b80772d46b9d6e8162f0
3
+ metadata.gz: 5b4ff73b9cf6a919fa9f32ed9cff0ddb797b1674
4
+ data.tar.gz: 6a0401d13546ae486b919de4ce176ea73e7053bc
5
5
  SHA512:
6
- metadata.gz: fba8cff59f86e769e7bdade3bca21fa5e57497ddb8bf89326dba619523e92283e3755bc5594b2a35ca7ff368f460ce302907dcf44d3aef40a2f84a8ca8a2088d
7
- data.tar.gz: 31a3030fd6c2d9153f29979f285c76de1f90e4674c394c1ae11645ef08f1f03b87fd9169bf69c72c01fb22e43f84db75615b2464a84ad75a7e784ae6973ae582
6
+ metadata.gz: 94ba5dcd1c5dccd3f9255f7ba48163a9e5ddc6bc101e63cfa95112a5a8cdf06a39139a8496dda16d5b218e3a1b7cef22ff9a276747b93271cc7d8143a7a7e29b
7
+ data.tar.gz: ed621c7946fbe0fc3609b1383ad3f668c647261ceace74fcb75ec596886a446229f77b2eb89d97bb08f378e38f03ae7238738193cc30ff7c76ffd954c5c78851
@@ -16176,7 +16176,10 @@
16176
16176
  } else if (e.key == 'Enter') {
16177
16177
  this.$store.dispatch('mediasStore/setSearchQuery', this.query);
16178
16178
  this.$store.dispatch('mediasStore/clearImgListing');
16179
+ this.$store.dispatch('mediasStore/setSearchPage', 1);
16179
16180
  this.$store.dispatch('mediasStore/fetchImage');
16181
+ console.log('search');
16182
+ this.query = "";
16180
16183
  } else if ((e.key == 'Backspace' || e.key == 'Meta') && this.query == '' && this.activeFilters.search != '') {
16181
16184
  this.clearSearch();
16182
16185
  }
@@ -32,7 +32,7 @@ export default {
32
32
  filteredTags() {
33
33
  if (this.fuseSearch) {
34
34
  return this.fuseSearch.search(this.searchFor);
35
- }else {
35
+ } else {
36
36
  return []
37
37
  }
38
38
 
@@ -47,7 +47,10 @@ export default {
47
47
  } else if (e.key == 'Enter') {
48
48
  this.$store.dispatch('mediasStore/setSearchQuery', this.query)
49
49
  this.$store.dispatch('mediasStore/clearImgListing')
50
+ this.$store.dispatch('mediasStore/setSearchPage', 1)
50
51
  this.$store.dispatch('mediasStore/fetchImage')
52
+ console.log('search');
53
+ this.query = ""
51
54
  } else if((e.key == 'Backspace' || e.key == 'Meta') && this.query == '' && this.activeFilters.search != '') {
52
55
  this.clearSearch()
53
56
  }
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module RailsAdminImageManager
2
- VERSION = '0.1.29'
2
+ VERSION = '0.1.30'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_image_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.29
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - iXmedia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-22 00:00:00.000000000 Z
11
+ date: 2017-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  requirements: []
248
248
  rubyforge_project:
249
- rubygems_version: 2.6.13
249
+ rubygems_version: 2.6.8
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Image manager.