Put the gnocchi in boiling salted water, bring to the boil and cook for about 2 minutes until they float on top. Pour into a sieve, quench briefly and allow to drain.
Cut salmon into strips. Wash the dill, shake dry and finely chop, except for a few flags for garnish. Peel onion and chop finely.
Heat the oil in a pan and fry the onion until translucent. Add the cream cheese, cream and stock and bring to the boil, stirring constantly. Let simmer for 2-3 minutes.
Stir in salmon and dill, except for 1 teaspoon for garnish. Season to taste with salt and pepper. Add the gnocchi, heat briefly. If the sauce is too thin for you, stir a little cornstarch in cold water and use it to bind the sauce.
Sprinkle the gnocchi in sauce with dill and garnish with dill flags and arrange on plates.