* First draft to handle go to location on mobile * Fix lint * Fix test * Remove unnecessary change * Add not handled cases * Add i18n missing string * Fix typo * Extract handleGotoLocation into an action * Fix minor issues and extract showPermalinkView to an action * Fix minor issues and extract showPermalinkView to an action * Add missing change * Fix this reference * Remove unneeded event handlers, sort imports, early handle errors, make group channel visible, remove duplications and move functions to the right place * Fix tests * Handle error when opening permalink
10 lines
267 B
JavaScript
10 lines
267 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export default {
|
|
CHANNEL: 'channel',
|
|
DMCHANNEL: 'dmchannel',
|
|
GROUPCHANNEL: 'groupchannel',
|
|
PERMALINK: 'permalink',
|
|
OTHER: 'other',
|
|
};
|