Fix what was missed in befa6f2 #3250

Merged
konrad merged 2 commits from WofWca/frontend:list-to-project-rename-followup into main 2023-03-16 14:56:34 +00:00
2 changed files with 3 additions and 2 deletions

View File

@ -161,7 +161,7 @@ const projectStore = useProjectStore()
} }
@media(hover: hover) and (pointer: fine) { @media(hover: hover) and (pointer: fine) {
.list-card .favorite { .project-card .favorite {
opacity: 0; opacity: 0;
} }

View File

@ -155,7 +155,8 @@ export default abstract class AbstractService<Model extends IAbstract = IAbstrac
/** /**
* Returns a fully-ready-ready-to-make-a-request-to route with replaced parameters. * Returns a fully-ready-ready-to-make-a-request-to route with replaced parameters.
* @example * @example
* getReplacedRoute('/lists/{listId}/tasks', { listId: 3 }) === '/lists/1/tasks' * getReplacedRoute('/projects/{projectId}/tasks', { projectId: 3 })
* === '/projects/{projectId}/tasks'
*/ */
getReplacedRoute(path : string, pathparams : Record<string, unknown>) : string { getReplacedRoute(path : string, pathparams : Record<string, unknown>) : string {
const replacements = this.getRouteReplacements(path, pathparams) const replacements = this.getRouteReplacements(path, pathparams)