bullet_train-themes 1.7.13 → 1.7.15

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: 82380ea8de26c5dd5188131a1a788d7ba5c0a8950e05df0270d2752b65a94c00
4
- data.tar.gz: f92bec547486d61c94d78a6c15ab301847d28c9a0febb378d66c4969b8ec12cc
3
+ metadata.gz: c62e95ab4b0d186ab6a1643a70a893685bc4ccb5f1a72de2ff056bca68bda8d2
4
+ data.tar.gz: 7d4ddc45e8c4f78f29409dd160abbd62dad73eb40db69bdd6666e0b89990b1de
5
5
  SHA512:
6
- metadata.gz: a905fe7514445d0fd676585b247e790ebe5469e5f1d117cf564ae2402ad21417e0156afb7cf1a5912fbb683b5d7dbeb784bb57565a2e8a48239d49b57b31067a
7
- data.tar.gz: f8fa906b27a44a22ea4cf4605283e8dc93eb53c2355f46cd7c710e3a55cc21b41c798b6ee965d8b742a1a931dda794dd7b475d3a6b5f22a32e38c2251bc5378d
6
+ metadata.gz: ff3580cb01146b38cc78f678192ec9bf228735cda0eaa1fd34267b000501b7918509e2040ec2a92799e8153e7851daf25e8111fd3578a8c8eb9522f5269b4323
7
+ data.tar.gz: 0763af09f06ba2e28af4488e110cf6520a8c2cfaae3859b82b1dda102a20b0756a3314eccf4bfa5b7886af4aa198eb76bc872c46242a1b5c49dcfb687d911935
@@ -7,7 +7,7 @@ other_options ||= {}
7
7
  options[:class] = "formatted_content trix-content #{options[:class]}"
8
8
  options[:placeholder] ||= labels.placeholder if labels.placeholder
9
9
  options[:data] ||= {}
10
- if defined?(current_team)
10
+ if defined?(current_team) && current_team.present?
11
11
  options[:data][:mentions] ||= ([current_team].map { |team|
12
12
  {key: team.name, value: team.id, protocol: 'bullettrain', model: 'teams', id: team.id, label: team.name, photo: photo_for(team)}
13
13
  } + current_team.memberships.current_and_invited.map { |membership|
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.7.13"
3
+ VERSION = "1.7.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.13
4
+ version: 1.7.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-19 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard