Browse Source

More debugging

pull/4/head
Eugen Rochko 5 years ago
parent
commit
dd02fc0ec4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/assets/javascripts/components/selectors/index.jsx
  2. +1
    -1
      config/environments/production.rb

+ 1
- 1
app/assets/javascripts/components/selectors/index.jsx View File

@ -38,7 +38,7 @@ const assembleStatus = (id, statuses, accounts) => {
if (status.get('reblog', null) !== null) {
reblog = statuses.get(status.get('reblog'), null);
if (reblog !== null) {
if (Immutable.Map.isMap(reblog)) {
reblog = reblog.set('account', accounts.get(reblog.get('account')));
} else {
return null;

+ 1
- 1
config/environments/production.rb View File

@ -19,7 +19,7 @@ Rails.application.configure do
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
# Compress JavaScripts and CSS.
config.assets.js_compressor = Uglifier.new(mangle: false, output: { comments: :all })
config.assets.js_compressor = Uglifier.new(mangle: false)
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.

Loading…
Cancel
Save