Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
24 lines
925 B
TypeScript
24 lines
925 B
TypeScript
// Module ID: 16829
|
|
// Function ID: 16830
|
|
// Name: openVibegrationsProject
|
|
// Dependencies: [1074, 2052, 1101, 2]
|
|
// Exports: openVibegrationsProject
|
|
|
|
// Module 16829 (openVibegrationsProject)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import router_utils from "router_utils" /* 1101 */;
|
|
import ChannelConstants from "ChannelConstants" /* 2052 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const Routes = Constants.Routes;
|
|
const StaticChannelRoute = ChannelConstants.StaticChannelRoute;
|
|
const result = size.fileFinishedImporting("modules/vibegrations/lib/openVibegrationsProject.tsx");
|
|
|
|
export const openVibegrationsProject = function openVibegrationsProject(id, projectId) {
|
|
if (null == projectId) {
|
|
let CHANNELResult = Routes.CHANNEL(id, StaticChannelRoute.VIBEGRATIONS);
|
|
} else {
|
|
CHANNELResult = Routes.CHANNEL(id, StaticChannelRoute.VIBEGRATIONS, projectId);
|
|
}
|
|
router_utils.transitionTo(CHANNELResult);
|
|
};
|