* Prevent need for eager loading
* Add initial implementation of user block
* Remove debugger oops
* Add index and foreign keys for user_block table
* Use private method instead of exists
* Move channel handling logic to service object
* Update styling a bit
* Use profileDropdown file for future proofing
* Remove commented out code
* Render json: { result } for all endpoints
* Add statuses for sad paths
* Add better sad path handling in the JS
* Remove accidentally committed spec file
* Don't wait for DOM to load block button
* Use equality for accuracy in slug query
* Add status code for unauthorized requests
* Add missing comma sigh
7 lines
131 B
JavaScript
7 lines
131 B
JavaScript
import initBlock from '../profileDropdown/blockButton';
|
|
|
|
window.InstantClick.on('change', () => {
|
|
initBlock();
|
|
});
|
|
|
|
initBlock();
|