function showDetails(resource) {
        const route = resourceTypeToRoute(resource.resourceType);
        if (route) {
            goto(route, {resourceId: resource.resourceId});
        } else {
            const typeName = getResourceTypeName(resource.resourceType);
            toast('Details for ' +  typeName + ' objects not yet supported', 'warning');
        }
    }
/**
     * Redirect the user to the details page for the resource, if possible, else alert
     * @param {Resource} resource Resource object to show details for
     */
Redirect the user to the details page for the resource, if possible, else alert
@param {Resource} resource Resource object to show details for
Redirect the user to the details page for the resource if possible else alert @param { Resource } resource Resource object to show details for
function showDetails(resource) {
        const route = resourceTypeToRoute(resource.resourceType);
        if (route) {
            goto(route, {resourceId: resource.resourceId});
        } else {
            const typeName = getResourceTypeName(resource.resourceType);
            toast('Details for ' +  typeName + ' objects not yet supported', 'warning');
        }
    }
function showDetails ( resource ) { const route = resourceTypeToRoute ( resource . resourceType ) ; if ( route ) { goto ( route , { resourceId : resource . resourceId } ) ; } else { const typeName = getResourceTypeName ( resource . resourceType ) ; toast ( 'Details for ' + typeName + ' objects not yet supported' , 'warning' ) ; } }
Redirect the user to the details page for the resource, if possible, else alert
 @param {Resource} resource Resource object to show details for
Redirect the user to the details page for the resource if possible else alert @param { Resource } resource Resource object to show details for